Core Function CurDir

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
UberFoX (Talk | contribs)
(Created page with "<pre> CurDir ( <path> ) </pre> === Description === Get or Set the current working directory. === Parameters === ==== path ==== The path to use. === Return Value === ==== W...")
Newer edit →

Revision as of 19:16, 19 April 2012

CurDir ( <path> )

Contents

Description

Get or Set the current working directory.

Parameters

path

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()  );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox