Core Function GetFileName

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(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)

Revision as of 21:40, 11 August 2014

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