windows-nt/Source/XPSP1/NT/inetsrv/iis/utils/dmdiffs/getit.bat
2020-09-26 16:20:57 +08:00

16 lines
369 B
Batchfile

@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