I have a batch file that runs a script. I want to drag a file onto the batch file's icon in order to upload it to the server. My script works fine if I send a parameter by commandline, say
but it doesn't work if I drag a file onto the batch icon.
Here is the contents of my batch file:
winscp.com /script="ftpdrop.txt" /parameter %1
in my script, I have simply: