Topic "cd in scripting"

Author Message


Is there a way to copy a file that is not in the current folder that I am running my script from? I dont want to have to type out the entire path, just move from where I am.

Example the script file is in directory c:\hello\temp and there is a file in c:\hello\temp11 that I want to copy to the remote site. Is there a way to access this without typing the entire path? I tried ../temp11/filename.txt and many other combinations but this did not work.


You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License