os.Path.chdir

The os.Path.chdir changes the current working directory. The syntax of the method is as follows:

CALL os.Path.chdir(new_dir) RETURNING result

 

where:

·     new_dir = a STRING variable standing for the directory to select,

·         result = an INTEGER variable standing for TRUE in case the current directory is successfully selected, otherwise FALSE will be returned.