Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.3 KiB

  1. @echo off
  2. if (%1)==() goto :help
  3. if (%2)==() goto :help
  4. ECHO IITMagic 10/26/99 - Magical IIT dev environment setter uper
  5. ECHO You are about to set up an IIT environment on drive %1 with full root path %2, hit control-C to abort.
  6. PAUSE
  7. %1
  8. if not exist %2 mkdir %2
  9. CD %2
  10. MKDIR slm6
  11. COPY \\iitdev\spgslm\slm6 slm6
  12. set path=%path%;%1%2\slm6
  13. MKDIR sapi5
  14. CD sapi5
  15. enlist -s \\iitdev\spgslm -p sapi5
  16. ssync -a
  17. MKDIR personal
  18. CD personal
  19. echo @echo off> razzle.BAT
  20. echo set IITDRIVE=%1>> razzle.BAT
  21. echo set IITDIR=%2>> razzle.BAT
  22. echo set IITROOT=%1%2>> razzle.BAT
  23. echo set path=%%path%%;%%IITROOT%%\slm6;%%IITROOT%%\sapi5\tools>> razzle.BAT
  24. echo %%IITDRIVE%%>> razzle.BAT
  25. echo cd %%IITDIR%%\sapi5>> razzle.BAT
  26. CD ..
  27. ECHO !!! Please permanently add %1%2\sapi5\bin to you system path !!!
  28. ECHO Do this on NT by right clicking properties on My Computer and going to the Environment tab
  29. ECHO Do this on Win9x by editing your autoexec.BAT file.
  30. ECHO If anybody knows how to do this easily from script please tell Leonro
  31. ECHO .
  32. ECHO Please create a shortcut to "cmd /K %1%2\personal\razzle.bat" on NT
  33. ECHO or "command /K %1%2\personal\razzle.bat" on Win9x
  34. ECHO If anybody knows how to do this easily from script please tell Leonro
  35. goto :end
  36. :help
  37. ECHO Usage:
  38. ECHO ittmagic {drive for IIT environment} {full path to IIT environment root}
  39. ECHO Example: iitmagic D: \
  40. :end