Pulling text from a .txt file to insert into a batch file to run an exe
<p>Im very new to this and would love some help.</p>

<p>Im trying to run a program in command line but i need to add a drive letter that changes and a part number that also changes. 
example: 
    <code>start "" "U:\ISO\fileTool\file_Update.exe /m:(PARTNUMBER) /t:(DRIVELETTER) /v /l:logfile.text"</code> </p>

<p>The program uses what is after m: for the part number I need.
It also uses what comes after T: for the drive letter I want to copy to.
I want to be able to choose if the v (validate) is inserted.
I want to choose if the l (logfile) is inserted.</p>

<p>As part of the prep I have a batch file to ask the user for the part number, drive letter, if they want to validate and if they want a log file. The output of that is a text file that looks like this without the information in the brackets</p>

<p>text file output:</p>

<pre><code>Variable One   = 1234 (partnumber)

Variable Two   = D (Driveletter)

Variable Three = Y (validate could be N to exclude)

Variable Four  = Y  (logfile could be N to exclude)
</code></pre>

<p>So what i need is a way to have the variable information inserted into the batch file and run the .exe file with the switches
EX:
    <code>start "" "U:\ISO\fileTool\file_Update.exe /m:12345 /t:m /v /l:logfile.txt"</code></p>