|
|
| GetFolderName$ | ||
| FolderName$ = GetFolderName$(Filename$) | ||
| Parameters: Filename$ = The filename & path you wish to grab the folder name from |
||
| Returns: FolderName$ = The grabbed folder name |
||
The GetFolderName$ functions returns the folder name from an absolute filename/path. FACTS: * None Mini Tutorial: This example, shows how to grab the file extension, the filename, the directory folder and device name from an absolute filename. An absolute filename is a filename that contains the device, the directory and the filename. Like this "C:\Windows\MyFile.txt"
This example would output something like this.
|
| Related Info: | GetDeviceName$ | GetFileExt$ | GetFileName$ : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |