Tuesday, November 18, 2008

Set program output to environment variable in batch file

FOR /F "tokens=*" %A IN ('prog.exe') DO SET ENVVAR=%A

2 comments:

remco said...

Thanks. Just the note i was looking for!

remco said...

Thanks, just the note i was looking for!

 
Jeffrey Ting Jeffrey Ting on Facebook Jeffrey Ting on Spock Jeffrey Ting on Plaxo Jeffrey Ting on Spoke Jeffrey Ting on LinkedIn