How to pass argument to PuTTY commands file
<p>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.</p>

<p>This is what I currently have -</p>

<pre><code>start C:\Users\putty.exe -load "server" -l userID -pw Password -m commands.txt
</code></pre>

<p>Is there a way to pass for example a version number as an argument to the <code>commands.txt</code> file?</p>