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.
 
 
 
 
 
 

15 lines
384 B

@echo off
if %1.dir == .dir goto usage
echo recording filenames and sizes into %1.dir...
perl getdir %windir% "/Program Files" /inetpub > %1.dir
echo dumping metabase content into %1.mb
mdutil enum_all > %1.mb
echo done.
goto done
:usage
echo usage: getit [basename]
echo to produce directory snapshot in basename.dir
echo and metabase snapshot in basename.mb
:done