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.

17 lines
308 B

  1. @echo off
  2. if "%1"=="" goto :usage
  3. if "%2"=="" goto :usage
  4. set _TEMPLATE_PATH=%1
  5. set _TARGET_FILE=%2
  6. rem
  7. rem scan all regular files
  8. rem
  9. dir /s /b /AH /A-D %_TEMPLATE_PATH%\*.* | find /V /I "dllcache" > %_TARGET_FILE%
  10. goto :eof
  11. :usage
  12. echo "Usage: maketmpl <templatepath> <templatefile>"