2 set ComSpec
=C
:\Windows\system32\
cmd.exe
3 set DevEnvDir
=C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\Common7\IDE\
4 set INCLUDE
=C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\VC\INCLUDE
;C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\VC\ATLMFC\INCLUDE
;C
:\Program
Files (x86
)\Microsoft SDKs\Windows
\v7.0A\include
;
5 set LIB
=C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\VC\LIB
;C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\VC\ATLMFC\LIB
;C
:\Program
Files (x86
)\Microsoft SDKs\Windows
\v7.0A\lib
;
6 set LIBPATH=C
:\Windows\Microsoft.
NET\Framework
\v4.0.30319;C
:\Windows\Microsoft.
NET\Framework
\v3.5;C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\VC\LIB
;C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\VC\ATLMFC\LIB
;
7 set Path=C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\VSTSDB\Deploy
;C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\Common7\IDE\
;C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\VC\BIN
;C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\Common7\Tools
;C
:\Windows\Microsoft.
NET\Framework
\v4.0.30319;C
:\Windows\Microsoft.
NET\Framework
\v3.5;C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\VC\VCPackages
;C
:\Program
Files (x86
)\HTML Help Workshop
;C
:\Program
Files (x86
)\HTML Help Workshop
;C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\Team Tools\Performance Tools
;C
:\Program
Files (x86
)\Microsoft SDKs\Windows
\v7.0A
\bin\NETFX
4.0 Tools
;C
:\Program
Files (x86
)\Microsoft SDKs\Windows
\v7.0A
\bin
;C
:\Windows\system32
;C
:\Windows
;C
:\Windows\System32\Wbem
;C
:\Windows\System32\WindowsPowerShell
\v1.0\
;C
:\Windows\idmu\common
8 set PATHEXT
=.COM
;.EXE
;.BAT
;.
CMD;.VBS
;.VBE
;.JS
;.JSE
;.WSF
;.WSH
;.MSC
9 set PSModulePath
=C
:\Windows\system32\WindowsPowerShell
\v1.0\Modules\
10 set VCINSTALLDIR
=C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\VC\
11 set VisualStudioDir
=C
:\Users\Administrator\Documents\Visual Studio
2010
12 set VS100COMNTOOLS
=C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\Common7\Tools\
13 set VSINSTALLDIR
=C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\
14 set WindowsSdkDir
=C
:\Program
Files (x86
)\Microsoft SDKs\Windows
\v7.0A\
16 cd C
:\Program
Files (x86
)\Microsoft Visual Studio
10.0\VC
18 call vcvarsall.bat help
21 echo # You may want to enter
'C:' followed by
'vcvarsall.bat amd64' and
'Y:'