Leaked source code of windows server 2003
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.

42 lines
1.2 KiB

  1. @echo off
  2. REM ===========================================================================
  3. REM
  4. REM Set the environment variables prior to starting MS VC++
  5. REM
  6. REM ===========================================================================
  7. set BASEPATH=Z:
  8. set OFFSET=debug
  9. set MMC_OFFSET=debug
  10. if not "%MSDevDir%"=="" goto start
  11. if not "%NTMAKEENV%"=="" set OFFSET=NT\obj\i386&& set MMC_OFFSET=obj\i386&& goto start
  12. :start
  13. if not %1.==. set BASEPATH=%1
  14. if not %2.==. set OFFSET=%2
  15. SUBST %BASEPATH% %IISBASEDIR%\ui
  16. echo.
  17. echo --------------------------------------------------------------------------
  18. echo.
  19. echo BASEPATH = %BASEPATH%
  20. echo OFFSET = %OFFSET%
  21. echo.
  22. echo --------------------------------------------------------------------------
  23. echo.
  24. REM set PATH=%BASEPATH%\common\ipadrdll\%OFFSET%;%PATH%
  25. set PATH=%BASEPATH%\admin\comprop\%OFFSET%;%PATH%
  26. REM set PATH=%BASEPATH%\admin\inetmgr\%OFFSET%;%PATH%
  27. set PATH=%BASEPATH%\admin\mmc\%MMC_OFFSET%;%PATH%
  28. REM set PATH=%BASEPATH%\admin\gscfg\%OFFSET%;%PATH%
  29. set PATH=%BASEPATH%\admin\w3scfg\%OFFSET%;%PATH%
  30. set PATH=%BASEPATH%\admin\fscfg\%OFFSET%;%PATH%
  31. set OFFSET=
  32. set MMC_OFFSET=
  33. set BASEPATH=