Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Mohiuddin

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.