|I have a text file with the numbers "10" in it. If I send the command "type blah.txt" 10 comes out. My question is, how do I use the SET command to assign the output from this type command as a variable?|
I thought, for example, that this would do it:
C:\>type blah.txt | SET certainnumber=
However, when I check, I get this.
How do I get the output from the type command to pipeline into the SET command?
message edited by link9454