Core Function CurDir
From Sputnik Wiki
CurDir ( <path> )
Contents |
Description
Get or Set the current working directory.
Parameters
path
Optional; The path to use.
Return Value
With 0 Params
Returns current working directory.
With 1 Param
Success: Returns 1.
Failure: Returns 0.
Remarks
None
Example
println( "Current Directory is: " . CurDir() ); CurDir("C:/Windows"); println( "Current Directory is: " . CurDir() );