contents   index   previous   next



Clib.chdir()

syntax:

Clib.chdir(dirpath)

where:

dirpath - directory specification to which to change.

 

return:

number - 0 on success, else -1.

 

description:

This method changes the directory for a script from its current directory to the directory specified in the parameter dirpath. The specified directory may be an absolute or relative path specification.

 

see:

Clib.getcwd()

 

 


Clib.getcwd()