Core Function GetFileNameWithoutExtension
From Sputnik Wiki
(Difference between revisions)
(Created page with "<pre> GetFileNameWithoutExtension ( <path> ) </pre> === Description === Returns the file name of the specified path string without the extension. === Parameters === ==== path...") |
m (1 revision) |
Revision as of 21:40, 11 August 2014
GetFileNameWithoutExtension ( <path> )
Contents |
Description
Returns the file name of the specified path string without the extension.
Parameters
path
The path to use.
Return Value
Success: Returns the full file name without any extension.
Failure: Returns empty string.
Remarks
None
Example
$File = 'c:\windows\System32\Sputnik.exe'; println( GetFileNameWithoutExtension($File) );