home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / fileutils / exist / !ReadMe next >
Encoding:
Text File  |  1991-05-20  |  1.8 KB  |  40 lines

  1. Exist? - By ARMageddon software
  2. ========------------------------
  3.  
  4. This cunning little utility can come in handy for inclusion in obey files.
  5. The command is:
  6.  
  7. Run <dir>.Exist? <filename>
  8.  
  9. Where <dir> is a path leading to where the utility is stored and <filename>
  10. being, yes, you guessed it, a filename. The utility will be run and the OS
  11. variable 'File$Exist' will be set to either 'Directory' 'Found' or 'Not
  12. found' indicating the type of <filename>. NB the case of the type is
  13. sensitive.
  14.  
  15. A typical example of its use in a !Run file would be :-
  16.  
  17. Run <Obey$Dir>.Exist? <Obey$Dir>.Data.Address
  18. If <File$Exist>="Not found" Then Error Can not find the address file.
  19. Echo Addresses.
  20. Type <Obey$Dir>.Data.Address
  21. Echo End of file.
  22.  
  23. This program is Public Domain.
  24.  
  25. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  26.      ______   ______    ___    ___     -------------------------------------
  27.     /  ,.  | |   _  \  |   \  /   |   | SOFTWARE  FOR  NO  REAL  PURPOSE  ! |
  28.    /  /_|  | |  '-' /  |    \/    |    -------------------------------------
  29.   /  ___.  | |   _  \  |  |\__/|  |   ---   ---   ---   ---   ---   ---   ---
  30.  /  /   |  | |  | \  \ |  |    |  |  | A | | G | | E | | D | | D | | O | | N |
  31. '--'    '--' '--'  `-' '--'    '--'   ---   ---   ---   ---   ---   ---   ---
  32.                         S  O  F  T  W  A  R  E
  33.                         ----------------------
  34. Contact me as Elwood Blues (Alias David Andrews) on :-
  35. The World of Cryton 0749 79794  #131
  36. Noah BBS            0272 572322 #111
  37. Archive BBS         0603 745932 #425
  38. Arcade BBS          081 6542212 #541                                         
  39.                                                                              
  40. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-