Core Function GetFileName
From Sputnik Wiki
(Difference between revisions)
(Created page with "<pre> GetFileName ( <path> ) </pre> === Description === Returns the file name and extension of the specified path string. === Parameters === ==== path ==== The path to use....") |
m (1 revision) |
(One intermediate revision by one user not shown) |
Latest revision as of 12:38, 14 June 2015
GetFileName ( <path> )
Contents |
Description
Returns the file name and extension of the specified path string.
Parameters
path
The path to use.
Return Value
Success: Returns the full file name including any extension.
Failure: Returns empty string.
Remarks
None
Example
$File = 'c:\windows\System32\Sputnik.exe'; println( GetFileName($File) );