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.

25 lines
499 B

  1. @echo off
  2. setlocal enableextensions
  3. if '%1' EQU '' goto Usage
  4. if '%2' EQU '' goto Usage
  5. set BUILDNUM=%1
  6. set BUILDTIME=%2
  7. shift
  8. shift
  9. :Loop
  10. if '%1' NEQ '' set BUILDTIME=%BUILDTIME% %1
  11. shift
  12. if '%1' NEQ '' goto Loop
  13. echo Scheduling Build %BUILDNUM% for %BUILDTIME%
  14. at %BUILDTIME% E:\BuildTools\McsBuildServer\McsBuildClient.exe DEVRDTBOX E:\BuildTools\DmaStartBuild.cmd %BUILDNUM%
  15. goto End
  16. :Usage
  17. echo Usage: "DmaScheduleBuild.cmd <Build Number> <Time> [/NEXT:Date | /EVERY:Date]"
  18. :End
  19. endlocal