Pre populating host, username, and password for WinSCP login using .cmd file
<p>I have created a .cmd file that allows the user to select a number that corresponds to a different set of login credentials for WinSCP thus eliminating the need to memorize login credentials for WinSCP.
In my .cmd file I have set host, username, and password according to the following:</p>

<pre><code>SET UID=exampleusername     
SET PWD=examplepassword
SET HOST=examplehost
</code></pre>

<p>I then proceed to call WinSCP using</p>

<pre><code>start WinSCP.exe 
</code></pre>

<p>This opens the login interface:</p>

<p><a href="https://i.stack.imgur.com/CnZB1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CnZB1.png" alt="enter image description here"></a></p>

<p>The WinSCP interface is called correctly but I am having issues coding in my .cmd file to populate the Host Name, User name, and Password fields using the variables defined in my .cmd file.</p>