I have a batch file that starts PuTTY and executes commands listed in a text file. I want to be able to pass in parameters to the text file that has my commands to be run on the remote server.
This is what I currently have -
start C:\Users\putty.exe -load "server" -l userID -pw Password -m commands.txt
Is there a way to pass for example a version number as an argument to the commands.txt
file?