Command line parameters not passed by script
I have a simple script that connects nicely to my remote server to make a remote directory. I cannot figure out how to get WinSCP to read the
My script is:
My command line looks like:
It creates a directory named
This is a Windows 11 machine using WinSCP 5.21.6
Thanks!
Xylene
/parameter
for the directory name. All the instruction on using /parameter
I get from the documentation is:
put "%1%"
My command line looks like:
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="C:\Users\xylen\Desktop\Programming\WinSCP.log" /ini=nul /script="C:\Users\xylen\Desktop\Programming\WinSCP_Script.txt" /loglevel=0 /parameter="VMTst"
%1%
. I've tried every combo of %
and "
that I can think of. Any tips are welcome.
This is a Windows 11 machine using WinSCP 5.21.6
Thanks!
Xylene