cd "\" FOR /D %%xin("Program Files*")do( cd /D %%x ifexist "Microsoft SDKs\Windows\v7.1A\Include" set INCLUDE=%INCLUDE%;%CD%%%x\Microsoft SDKs\Windows\v7.1A\Include For /D %%Gin("Microsoft Visual Studio*")doset VC=%%x\%%G cd "\" )
echocall "%VC%\VC\vcvarsall.bat" x86 call "%VC%\VC\vcvarsall.bat" x86