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.

19 lines
248 B

  1. @echo off
  2. setlocal
  3. set ROOT=%1
  4. set OBJ=%2
  5. shift
  6. shift
  7. set LIST=
  8. for %%i in (%*) do (
  9. if "%%i" neq "%ROOT%" (
  10. if "%%i" neq "%OBJ%" (
  11. set LIST=!LIST! {%OBJ%\%%i=%ROOT%\%%i}
  12. )
  13. )
  14. )
  15. echo %LIST%