I need to pass argument from wsf file to bat file to windows command script. In wsf file I have:
Shell.Run("Something.bat ",&varparam,1,true)
In Something.bat:
sftp.exe testcommand.cmd %1
In testcommand.cmd:
open user@address
put %1
But .cmd file does not get access to the parameter value. How can I get this to work?