|path||is the path on the remote computer that is to be made the current folder. When the change has been made, the new folder is not automatically listed. If the script is being run interactively, i.e. not from a command prompt, and the new folder should be listed, use the "ls" command to refresh the list of files on the remote computer. If path contains a space, it must be enclosed in double quotes. For example:|
|cd "\sub folder\"|
cd "\sub folder\"
* Sample script using the "cd" command.
* Switch to \test\test2\ on the remote host.
* Upload test.txt to \test\test2\.
* Return to the root folder on the remote host.