@SET VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8
@SET VCINSTALLDIR=C:\Programme\Microsoft Visual Studio 8\VC
@SET FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework
@SET FrameworkVersion=v2.0.50727
@SET FrameworkSDKDir=C:\Programme\Microsoft Visual Studio 8\SDK\v2.0
@if "%VSINSTALLDIR%"=="" goto error_no_VSINSTALLDIR
@if "%VCINSTALLDIR%"=="" goto error_no_VCINSTALLDIR

@echo Setting environment for using Microsoft Visual Studio 2005 x86 tools.

@rem
@rem Root of Visual Studio IDE installed files.
@rem
@set DevEnvDir=C:\Programme\Microsoft Visual Studio 8\Common7\IDE

@set PATH=C:\Programme\Microsoft Visual Studio 8\Common7\IDE;C:\Programme\Microsoft Visual Studio 8\VC\BIN;C:\Programme\Microsoft Visual Studio 8\Common7\Tools;C:\Programme\Microsoft Visual Studio 8\Common7\Tools\bin;C:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\bin;C:\Programme\Microsoft Visual Studio 8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Programme\Microsoft Visual Studio 8\VC\VCPackages;%PATH%
@set INCLUDE=C:\Programme\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE;C:\Programme\Microsoft Visual Studio 8\VC\INCLUDE;C:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\include;C:\Programme\Microsoft Visual Studio 8\SDK\v2.0\include;%INCLUDE%
@set LIB=C:\Programme\Microsoft Visual Studio 8\VC\ATLMFC\LIB;C:\Programme\Microsoft Visual Studio 8\VC\LIB;C:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\lib;C:\Programme\Microsoft Visual Studio 8\SDK\v2.0\lib;%LIB%
@set LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Programme\Microsoft Visual Studio 8\VC\ATLMFC\LIB

@goto end

:error_no_VSINSTALLDIR
@echo ERROR: VSINSTALLDIR variable is not set. 
@goto end

:error_no_VCINSTALLDIR
@echo ERROR: VCINSTALLDIR variable is not set. 
@goto end

:end
