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.

33 lines
895 B

  1. @REM -----------------------------------------------------------------
  2. @REM
  3. @REM <<template_script.cmd>> - <<script owner alias>>
  4. @REM <<short description of this script>>
  5. @REM
  6. @REM Copyright (c) Microsoft Corporation. All rights reserved.
  7. @REM
  8. @REM -----------------------------------------------------------------
  9. @if defined _CPCMAGIC goto CPCBegin
  10. @perl -x "%~f0" %*
  11. @goto :EOF
  12. #!perl
  13. use strict;
  14. use lib $ENV{RAZZLETOOLPATH} . "\\PostBuildScripts";
  15. use lib $ENV{RAZZLETOOLPATH};
  16. use PbuildEnv;
  17. use ParseArgs;
  18. sub Usage { print<<USAGE; exit(1) }
  19. <<Insert your usage message here>>
  20. USAGE
  21. parseargs('?' => \&Usage);
  22. # *** TEMPLATE CODE ***
  23. $ENV{"_CPCMAGIC"}++;exit(system($0)>>8);
  24. __END__
  25. @:CPCBegin
  26. @set _CPCMAGIC=
  27. @setlocal ENABLEDELAYEDEXPANSION ENABLEEXTENSIONS
  28. @if not defined DEBUG echo off
  29. @REM *** CMD SCRIPT BELOW ***