home *** CD-ROM | disk | FTP | other *** search
-
- ╔═══════════════╗
- ║ FILE FINDER ║
- ╚═══════════════╝
-
- FINDFILE$ is a mixed QuickBASIC and assembly function,
- which helps you locate a particular file, on any drive
- or in any directory of the system. It will accept wild
- card characters as part of the pathname to search, in
- which case the function will report all matching files
- and allow you to select one from the list.
-
- Syntax: FindFile$ (FileSpec$)
-
- FILESPEC$ can contain drive identifier, directory path
- legal filenames and the wildcard characters * and ?
-
- Example: Path$ = FindFile$("B:\DATA\*.DAT")
-
- On entry, FILESPEC$ should contain the pathname to be
- searched. If the pathname is ambiguous, the function
- presents a directory listing, in a popup window, of
- all files which match and allows the user to select
- the actual one required. If the pathname is explicit,
- the procedure just checks if it actually exists. On
- return, FINDFILE$ contains the full pathname of the
- required file, or a null string if it was not located.