Category : HD Utilities
Archive   : PLUG12.ZIP
Filename : DIR.H

 
Output of file : DIR.H contained in archive : PLUG12.ZIP
/*
dir.h -- Structure for a directory entry.
*/

#define rdonly 0x0001 /* Read-only file */
#define hidden 0x0002 /* Hidden file */
#define sysfile 0x0004 /* System file */
#define vlabel 0x0008 /* File is volume label */
#define subdir 0x0010 /* Subdirectory */
#define archive 0x0020 /* Archived file */

struct dir {
char fname [8]; /* File name */
char fextn [3]; /* File name extension */
char attribute; /* File attribute */
char reserved [10]; /* Reserved for DOS in scan. */
unsigned int ftime; /* File time (see DOS tech ref p. 5-12) */
unsigned int fdate; /* File date */
unsigned int fcluster; /* First cluster number */
unsigned long fsize; /* File Size */
};

struct dir_ch { /* Directory sector chain */
struct dir_ch *dirnext; /* Link pointer */
unsigned secno; /* Sector number */
struct dir dirent [16]; /* 16 directory entries */
} ;

/* Added dir_pl Rev 1.2 August 87 */

struct dir_pl { /* Directory Pointer List structure */
struct dir *dp; /* Pointer to directory entry */
unsigned char inx; /* Index of this entry in dir_ch struc */
} ;



  3 Responses to “Category : HD Utilities
Archive   : PLUG12.ZIP
Filename : DIR.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/