Core Function IsPathRooted
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> IsPathRooted ( <path> ) </pre> === Description === Gets a value indicating whether the specified path string contains absolute or relative path information. === Paramete...")
Newer edit →
(Created page with "<pre> IsPathRooted ( <path> ) </pre> === Description === Gets a value indicating whether the specified path string contains absolute or relative path information. === Paramete...")
Newer edit →
Revision as of 14:41, 1 December 2011
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) );