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

martin

Re: Issues with pscp password with special characters in bach script

Sorry, this is not a support forum for PSCP.
tarantula3@gmail.com

Issues with pscp password with special characters in bach script

I have a password like this: ?$ax#z4%8?1
I wasnt to use that to pscp to multiple servers and copy a file to the cgi/bin folder using a batch file

I have tried:
?$ax#z4%8?1
\\?\\$ax\\#z4\\%8\\?1
\?\$ax\#z4\%8\?1
%%3F%%24ax%%23z4%%258%%3F1
%3F%24ax%23z4%258%3F1

In the below command:
"C:\Program Files (x86)\PuTTY\pscp" -pw password myfile root@xx.xx.xx.xx:/www/cgi-bin/