|
|
| GetFileName$ | ||
| FileName$ = GetFileName$(Filename$) | ||
| Parameters: Filename$ = The full filename & path you wish to grab the filename from |
||
| Returns: FileName$ = The grabbed filename plus extension. |
||
The GetFileName$ functions returns the file name including extension 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$ | GetFolderName$ : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |