Skip to content

Instantly share code, notes, and snippets.

@vsajip
Forked from mikofski/vcvarsall.bat.patch
Last active August 29, 2015 14:22
Show Gist options
  • Save vsajip/4a03a15f395129637690 to your computer and use it in GitHub Desktop.
Save vsajip/4a03a15f395129637690 to your computer and use it in GitHub Desktop.
--- C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.txt
+++ C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat
@@ -16,23 +16,23 @@
goto :eof
:amd64
-if not exist "%~dp0bin\amd64\vcvarsamd64.bat" goto missing
-call "%~dp0bin\amd64\vcvarsamd64.bat"
+if not exist "%~dp0bin\vcvars64.bat" goto missing
+call "%~dp0bin\vcvars64.bat"
goto :eof
:ia64
-if not exist "%~dp0bin\ia64\vcvarsia64.bat" goto missing
-call "%~dp0bin\ia64\vcvarsia64.bat"
+if not exist "%~dp0bin\vcvarsia64.bat" goto missing
+call "%~dp0bin\vcvarsia64.bat"
goto :eof
:x86_amd64
-if not exist "%~dp0bin\x86_amd64\vcvarsx86_amd64.bat" goto missing
-call "%~dp0bin\x86_amd64\vcvarsx86_amd64.bat"
+if not exist "%~dp0bin\vcvarsx86_amd64.bat" goto missing
+call "%~dp0bin\vcvarsx86_amd64.bat"
goto :eof
:x86_ia64
-if not exist "%~dp0bin\x86_ia64\vcvarsx86_ia64.bat" goto missing
-call "%~dp0bin\x86_ia64\vcvarsx86_ia64.bat"
+if not exist "%~dp0bin\vcvarsx86_ia64.bat" goto missing
+call "%~dp0bin\vcvarsx86_ia64.bat"
goto :eof
:usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment