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.

24 lines
574 B

  1. policheck /FL:"..\ScanFiles.Lst" /T:9 /O:"..\Test.xml"
  2. @echo off
  3. echo return=%errorlevel%
  4. if %errorlevel% EQU 0 goto success
  5. if %errorlevel% EQU 1 goto failed
  6. if %errorlevel% EQU -1 goto invalid
  7. if %errorlevel% EQU -2 goto version
  8. if %errorlevel% EQU 2 goto termtable
  9. :success
  10. echo Program had return code 0 success
  11. goto exit
  12. :failed
  13. echo Program had return code 1 failed
  14. goto exit
  15. :invalid
  16. echo Program had invalid parameters
  17. goto exit
  18. :version
  19. echo Program need new version
  20. goto exit
  21. :termtable
  22. echo Can not download term table from server
  23. :exit