Core Function GetPathRoot

From Sputnik Wiki
Revision as of 12:38, 14 June 2015 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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) );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox