Source code of Windows XP (NT5)
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.

21 lines
542 B

  1. @echo off
  2. if "%1" == "" goto Usage
  3. echo Splitting symbols...
  4. splitsym %_NTTREE%\dfs\dfs.sys
  5. echo Copying symbols...
  6. copy %_NTTREE%\dfs\dfs.dbg e:\ntshadow\%1\symbols\sys\. > nul
  7. if "%2" == "-n" goto Done
  8. echo Updating driver...
  9. if exist \\%1\C$\nt\system32\drivers\dfs.sys copy %_NTTREE%\dfs\dfs.sys \\%1\c$\nt\system32\drivers\. > nul
  10. if exist \\%1\C$\winnt\system32\drivers\dfs.sys copy %_NTTREE%\dfs\dfs.sys \\%1\c$\winnt\system32\drivers\. > nul
  11. goto Done
  12. :Usage
  13. echo senddfs <machine-name> [-n]
  14. :Done
  15. echo Updated Dfs driver on %1