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.

15 lines
369 B

  1. @echo off
  2. if %1.dir == .dir goto usage
  3. echo recording filenames and sizes into %1.dir...
  4. perl getdir %windir% "/Program Files" /inetpub > %1.dir
  5. echo dumping metabase content into %1.mb
  6. mdutil enum_all > %1.mb
  7. echo done.
  8. goto done
  9. :usage
  10. echo usage: getit [basename]
  11. echo to produce directory snapshot in basename.dir
  12. echo and metabase snapshot in basename.mb
  13. :done