Core Function IsPathRooted

From Sputnik Wiki
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