Synchronize folder with space character from command line

Advertisement

prietor
Joined:
Posts:
4

Synchronize folder with space character from command line

How can i synchronize, from command line, a folder that contains a space character?

I've tried this to synchronize "test folder":

WinSCP.exe /console /command "option batch continue" "open session1" "option transfer binary" "synchronize remote test%20folder test%20folder -mirror -delete -criteria=time" "close"

But it doesn't work. If i do:
WinSCP.exe /console /command "option batch continue" "open session1" "option transfer binary" "synchronize remote test folder test folder -mirror -delete -criteria=time" "close"

Then, obviously, synchronize has too many parameters

Any suggestion?

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum