Changes the current directory.
ret = ChDir (DirString)
ret | Integer,output |
0 = OK | |
Non zero = Error | |
DirString | String, input |
Directory name of the new directory. |
This is a PASSPORT command. This command is a Visual Basic command but is not implemented by VBScript.
Example
Sub
ZMain()
ChDir "c:\temp"
End Sub