Skip to content

Instantly share code, notes, and snippets.

@573
Created October 24, 2012 11:35
Show Gist options
  • Save 573/3945596 to your computer and use it in GitHub Desktop.
Save 573/3945596 to your computer and use it in GitHub Desktop.
Visual Studio 2010 Express prompt with Platform SDK v7.1
@echo off
:: file: VS10_Command_Prompt.bat, call i. e. with x86 as argument
title Open Visual Studio 2010 Express prompt with Platform SDK v7.1
if not exist "C:\Programme\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" goto missing
echo call "C:\Programme\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" %1
call "C:\Programme\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" %1
:: Platform SDK:
@set PATH=C:\Programme\Microsoft SDKs\Windows\v7.1\bin;%PATH%
@set INCLUDE=C:\Programme\Microsoft SDKs\Windows\v7.1\Include;%INCLUDE%
@set LIB=C:\Programme\Microsoft SDKs\Windows\v7.1\Lib;%LIB%
goto :eof
:missing
echo Missing file
echo "C:\Programme\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
goto :eof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment