< Futurebasic < Language < Reference
USR FSGETFOLDERNAME(fsSpec,folderName$)
Revised August, 2002 (Release 7)
Description - This function returns the name of the folder that contains the file specified by fsSpec.
Example:
INCLUDE "Util_Files.incl"
DIM fs AS FSSpec
DIM x,name$ name$ = FILES$(_FSSpecOpen,,,fs) x = USR FSGETFOLDERNAME(fs,name$)
PRINT name$
DO HANDLEEVENTS UNTIL 0
See Also FINDERINFO, FILES$; USR SCANFOLDER
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.