|
|
1.1 ! root 1: @echo off ! 2: if "%1" == "" goto usage ! 3: if "%2" == "" goto usage ! 4: if "%1" == "i386" goto i386 ! 5: if "%1" == "I386" goto i386 ! 6: if "%1" == "mips" goto mips ! 7: if "%1" == "MIPS" goto mips ! 8: goto usage ! 9: ! 10: :i386 ! 11: :mips ! 12: mkdir %2 ! 13: mkdir %2\bin ! 14: mkdir %2\h ! 15: mkdir %2\help ! 16: mkdir %2\init ! 17: mkdir %2\lib ! 18: mkdir %2\samples ! 19: xcopy .\bin\%1 %2\bin /s /e ! 20: xcopy .\h %2\h /s /e ! 21: xcopy .\help %2\help ! 22: xcopy .\init %2\init /s /e ! 23: xcopy .\lib\%1 %2\lib /s /e ! 24: xcopy .\samples %2\samples /s /e ! 25: ! 26: echo set path=%2\bin;%%path%%> %2\setenv.bat ! 27: echo set lib=%2\lib>> %2\setenv.bat ! 28: echo set include=%2\h\strict;%2\h;%2\samples\inc>> %2\setenv.bat ! 29: echo set cpu=i386>> %2\setenv.bat ! 30: ! 31: goto exit ! 32: ! 33: :usage ! 34: echo. ! 35: echo Usage: setupsdk [i386 / mips] [path] ! 36: echo i386: Installs SDK with i386 binaries and headers ! 37: echo mips: Installs SDK with mips binaries and headers ! 38: echo path: Full drive and pathname where tools should reside ! 39: echo. ! 40: echo Example: setupsdk i386 c:\nt\mstools ! 41: echo Copies the Win32 SDK for Windows NT for i386 development into a ! 42: echo subdirectory within the NT system tree: C:\NT\MSTOOLS. ! 43: echo. ! 44: ! 45: :exit
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.