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.

29 lines
542 B

  1. @echo off
  2. REM
  3. REM Propagates the binaries and the cab to the ADSI share
  4. REM
  5. IF "%1" == "" (
  6. Echo No locale specified, defaulting to usa
  7. set LOC=usa
  8. ) ELSE (
  9. set LOC=%1
  10. )
  11. IF "%2" == "" (
  12. Echo no build number specified, defaulting to propagate test build
  13. set BUILD=Test
  14. ) ELSE (
  15. set BUILD=%2
  16. )
  17. set PROP_LOC=\\adsi\release\%BUILD%\%LOC%
  18. REM Preparing for propapage location
  19. if not exist %PROP_LOC% (
  20. md %PROP_LOC%
  21. )
  22. Echo Propagating dsclient to a release share...
  23. xcopy /y .\release\%LOC%\*.* %PROP_LOC%