VOOZH about

URL: https://winscp.net/eng/docs/scriptcommand_cd

⇱ cd command :: WinSCP


Changes remote working directory for active session.

Advertisement

cd [ <directory> ]

If directory is not specified, changes to home directory.

cd /home/martin
cd

WinSCP .NET assembly does not have a concept of current working directory. When converting script to .NET Assembly, you have to convert relative paths to absolute paths.