home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / cprog / altvb10b.zip / HLPFILES.ZIP / FINDFILE.HLP < prev    next >
Text File  |  1990-10-25  |  1KB  |  28 lines

  1.  
  2.                 ╔═══════════════╗
  3.                 ║  FILE FINDER  ║
  4.                 ╚═══════════════╝
  5.  
  6. FINDFILE$ is a mixed QuickBASIC and assembly function,
  7. which helps you locate a particular file, on any drive
  8. or in any directory of the system. It will accept wild
  9. card characters as part of the pathname to search,  in
  10. which case the function will report all matching files
  11. and allow you to select one from the list.
  12.  
  13. Syntax:    FindFile$ (FileSpec$)
  14.  
  15. FILESPEC$ can contain drive identifier, directory path
  16. legal filenames and the wildcard characters * and ?
  17.  
  18. Example:   Path$ = FindFile$("B:\DATA\*.DAT")
  19.  
  20. On entry,  FILESPEC$ should contain the pathname to be
  21. searched.  If the pathname is ambiguous,  the function
  22. presents  a directory listing,  in a popup window,  of
  23. all  files which match and allows the user  to  select
  24. the actual one required.  If the pathname is explicit,
  25. the  procedure  just checks if it actually exists.  On
  26. return,  FINDFILE$  contains  the full pathname of the
  27. required file, or a null string if it was not located.
  28.