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.

31 lines
796 B

  1. @echo off
  2. if defined _echo echo on
  3. if defined verbose echo on
  4. setlocal ENABLEDELAYEDEXPANSION
  5. set SymbadDir=h:\mytools\symbad
  6. cd /d %RazzleToolPath%
  7. sd sync ...
  8. if exist %SymbadDir% rd /s /q %SymbadDir%
  9. md %SymbadDir%
  10. for %%a in (1 2 3 4 5 6) do (
  11. copy \\robsvbl%%a\latest\symbad\symbad.txt.new %SymbadDir%\symbad%%a.txt.new
  12. type %SymbadDir%\symbad%%a.txt.new>>%SymbadDir%\symbad.txt.new
  13. )
  14. perl.exe makelist.pl -i %SymbadDir%\symbad.txt.new %SymbadDir%\symbad.txt.new -o %SymbadDir%\symbad.txt.new2
  15. sort %SymbadDir%\symbad.txt.new2 > %SymbadDir%\symbad.txt
  16. fc %RazzleToolPath%\symbad.txt %SymbadDir%\symbad.txt >nul
  17. if %ERRORLEVEL% EQU 1 (
  18. sd edit symbad.txt
  19. copy %SymbadDir%\symbad.txt %RazzleToolPath%
  20. start sd diff symbad.txt
  21. )
  22. endlocal