Core Function GetPathRoot
From Sputnik Wiki
(Difference between revisions)
(Created page with "<pre> GetPathRoot ( <path> ) </pre> === Description === Gets the root directory information of the specified path.. === Parameters === ==== path ==== The path to use. === R...") |
m |
||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
− | Gets the root directory information of the specified path | + | Gets the root directory information of the specified path. |
=== Parameters === | === Parameters === |
Revision as of 14:40, 1 December 2011
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) );