Core Function GetPathRoot
From Sputnik Wiki
(Difference between revisions)
m |
m (1 revision) |
Revision as of 21:40, 11 August 2014
GetPathRoot ( <path> )
Contents |
Description
Gets the root directory information of the specified path.
Parameters
path
The path to use.
Return Value
Success: Returns the root directory of path, such as "C:\"
Failure: Returns empty string.
Remarks
None
Example
$File = 'c:\windows\System32\Sputnik.exe'; println( GetPathRoot($File) );