home *** CD-ROM | disk | FTP | other *** search
/ Turbo Toolbox / Turbo_Toolbox.iso / 1990 / 03 / tricks / dirman.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-12-14  |  1.3 KB  |  28 lines

  1. /* ------------------------------------------------------ */
  2. /*                    DIRMAN.H                            */
  3. /*          (c) 1990 Olaf Stoyke & TOOLBOX                */
  4. /* ------------------------------------------------------ */
  5. #include <stdlib.h>       /* Wegen "exit"                 */
  6. #include <stdio.h>        /* Für die Dateibehandlung      */
  7. #include <dir.h>          /* Für die Verzeichnisbehandlg. */
  8.  
  9. #define  OINIT    0       /* Internal use only ...        */
  10. #define  OSAVE    1
  11. #define  OLOAD    2
  12. #define  OPEEK    3
  13. #define  STDNAME  "C:\\DIRMAN.DAT"
  14. #define  STACKMAX 20            /* Verzeichnisstapelgröße */
  15. #define  HEAD     "\nDIRMAN Version 1.02 (" \
  16.                   __DATE__ \
  17.                   ")\nCopyright (c) by Olaf Stoyke\n"
  18. #define  PARAMERR "Usage: DIRMAN [filename] [/L|/P|/S].\n"
  19. #define  NOTFOUND "%s not found.\n"
  20. #define  NOCREAT  "Cannot create %s.\n"
  21. #define  OVERFLOW "Must delete last entry.\n"
  22. #define  NENTRY   "%d path name(s) in %s.\n"
  23. #define  DIRERR   "Cannot read/set current directory.\n"
  24. #define  SAVEMSG  "Writing %s to top of %s.\n"
  25. #define  LOADMSG  "Making %s to current directory.\n"
  26. /* ------------------------------------------------------ */
  27. /*                 Ende von DIRMAN.H                      */
  28.