Core Function IsPathRooted

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
IsPathRooted ( <path> )

Contents

Description

Gets a value indicating whether the specified path string contains absolute or relative path information.

Parameters

path

The path to use.

Return Value

Success: Returns 1.

Failure: Returns 0.

Remarks

None

Example

$File1 = 'c:\windows\System32\Sputnik.exe';
$File2 = 'Sputnik.exe';
 
println( IsPathRooted($File1) );
println( IsPathRooted($File2) );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox