mv (move) command does not accept windows destination path

Advertisement

Mohiuddin
Guest

mv (move) command does not accept windows destination path

Hi,
I am facing a problem with winscp commandline scripting:
I am trying to move files from unix to windows system like:

mv file1 file2 D:\abc\xyz\

but its mentioned here https://winscp.net/eng/docs/scriptcommand_mv that the destination folder should be terminated with a slash. But unfortunately its accepting only forward slash(/) which is unix style file seperator, and not accepting windows style seperator, backward slash(\).

Please help me how to move files from unix system to windows system. Thanks in advance.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum