Core Function GetPathRoot
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> GetPathRoot ( <path> ) </pre> === Description === Gets the root directory information of the specified path.. === Parameters === ==== path ==== The path to use. === R...")
Newer edit →
(Created page with "<pre> GetPathRoot ( <path> ) </pre> === Description === Gets the root directory information of the specified path.. === Parameters === ==== path ==== The path to use. === R...")
Newer edit →
Revision as of 14:36, 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) );