diff options
Diffstat (limited to 'mps/code/configure_sdk.cmd')
| -rw-r--r-- | mps/code/configure_sdk.cmd | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/mps/code/configure_sdk.cmd b/mps/code/configure_sdk.cmd deleted file mode 100644 index 8a67d289274..00000000000 --- a/mps/code/configure_sdk.cmd +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | @ECHO OFF | ||
| 2 | REM +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
| 3 | REM $Id$ | ||
| 4 | REM $Change$ $DateTime$ $Author$ | ||
| 5 | REM | ||
| 6 | REM Configure access to the Microsoft SDK. | ||
| 7 | REM | ||
| 8 | REM This procedure has only been tested under NT6.1. Earlier versions | ||
| 9 | REM of the operating system will have different SDK configuration | ||
| 10 | REM details. | ||
| 11 | REM | ||
| 12 | REM This procedure requires delayed environment expansion. | ||
| 13 | REM The presence of REG in the command path is assumed. | ||
| 14 | REM | ||
| 15 | REM The registry is queried to determine the SDK installation location | ||
| 16 | REM and its SETENV command procedure is invoked to configure it. | ||
| 17 | REM Note that SETENV, as installed, has a tendency to alter the color | ||
| 18 | REM settings for the console. | ||
| 19 | REM | ||
| 20 | REM Copyright (C) 2011 Ravenbrook Limited. All rights reserved. | ||
| 21 | REM | ||
| 22 | REM ------------------------------------------------------------------- | ||
| 23 | REM | ||
| 24 | SET WinSDKRegKeyPath=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1 | ||
| 25 | |||
| 26 | FOR /F "tokens=2*" %%A IN ('REG QUERY "%WinSDKRegKeyPath%" /v InstallationFolder') DO SET WindowsSDKDir=%%B | ||
| 27 | |||
| 28 | SET "sdkdir=%WindowsSDKDir%" | ||
| 29 | |||
| 30 | %sdkdir%\bin\setenv | ||
| 31 | |||
| 32 | REM -- End of program | ||
| 33 | |||