Phantom Documentation

[Help Home] [Phantom Home]
cd

void cd(string)

Return Type: void
Parameters: string new_dir

Description:
This function will change the current working directory to the directory indicated by the new_dir parameter. The new directory can be with respect to either the current working directory (see pwd) or an absolute directory.

Example Code
1 >>cd("c:\\Projects\\");
2 >>disp(pwd());
c:\Projects
3 >>cd("..");
4 >>disp(pwd());
c:\


 


Copyright 2000-2011 Phantom Automated Solutions