Wednesday, March 17, 2010

Set program output to environment variable in batch file

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

No comments:

Post a Comment