Core Function IsPathRooted
From Sputnik Wiki
(Difference between revisions)
(Created page with "<pre> IsPathRooted ( <path> ) </pre> === Description === Gets a value indicating whether the specified path string contains absolute or relative path information. === Paramete...") |
m (1 revision) |
(One intermediate revision by one user not shown) |
Latest revision as of 12:38, 14 June 2015
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) );