Core Function GetFileName

From Sputnik Wiki
Jump to: navigation, search
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) );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox