Core Function GetFileName
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(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....")
Newer edit →
(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....")
Newer edit →
Revision as of 14:15, 1 December 2011
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) );