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.

43 lines
1.2 KiB

  1. @echo off
  2. setlocal enableextensions
  3. if "%1"=="" goto Usage
  4. if "%2"=="" goto Usage
  5. set PATH=D:\BuildTools;D:\Program Files\HTML Help Workshop
  6. set LOG=%2
  7. set stars=********************************************************************************
  8. echo Changing drive to E:... >> %LOG% 2>&1
  9. e: >> %LOG% 2>&1
  10. echo Changing directory to %1\Dev\Raptor\Documents\Help... >> %LOG% 2>&1
  11. cd %1\Dev\Raptor\Documents\Help >> %LOG% 2>&1
  12. echo %stars% >> %LOG% 2>&1
  13. echo Removing path info from DomainMig.hhp... >> %LOG% 2>&1
  14. if exist DomainMig.hhp.bak del /f DomainMig.hhp.bak >> %LOG% 2>&1
  15. RemovePathFromHHP.pl DomainMig.hhp >> %LOG% 2>&1
  16. if exist DomainMig.hhp.bak del /f DomainMig.hhp.bak >> %LOG% 2>&1
  17. echo Building DomainMig.chm... >> %LOG% 2>&1
  18. hhc.exe DomainMig.hhp >> %LOG% 2>&1
  19. echo %stars% >> %LOG% 2>&1
  20. rem cd ..
  21. rem echo Processing Word macros...
  22. rem echo %stars% >> %LOG%
  23. rem echo Processing Word macros... >> %LOG%
  24. rem C:\WinNT\System32\attrib -r *.doc >> %LOG% 2>&1
  25. rem D:\MsOffice97\Office\WinWord.exe "Domain Administrator Solution Guide.doc" /mAttachMCSprint
  26. rem C:\WinNT\System32\attrib +r *.doc >> %LOG% 2>&1
  27. rem cd ..
  28. goto End
  29. :Usage
  30. echo Usage: "RaptorBuildHelp.cmd <Root Directory> <Log File>"
  31. :End
  32. endlocal