Category : C Source Code
Archive   : CSR-1.ZIP
Filename : CSRDOS.H

 
Output of file : CSRDOS.H contained in archive : CSR-1.ZIP
/*
** C Spot Run DOS Functions Header File
**
** NOTE: The functions that use this file need at least DOS 2.0
** to properly function.
**
** Alan Losoff's TREEDIR3.C contained the original DIRS structure.
**
** Created: 04/04/86 Last Update: 04/15/86
**
*/

struct DIRS
{
char dos[21]; /* DOS Internal Use */
char attribute; /* File Attribute */
struct
{
unsigned hour:5;
unsigned minute:6;
unsigned second:5;
} time;
struct
{
unsigned year:7;
unsigned month:4;
unsigned day:5;
} date;
long size;
char name[13];
char filler[85];
};

#define READ_ONLY 0x01
#define HIDDEN 0x02
#define SYSTEM 0x04
#define VOLUME 0x08
#define SUB_DIR 0x10
#define ARCHIVE 0x20


  3 Responses to “Category : C Source Code
Archive   : CSR-1.ZIP
Filename : CSRDOS.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/