|
原帖由 wjh6088 于 2007-5-27 12:27 PM 发表
是吗??
首先感谢你的答复
但是你并未说出软件名字,而我看软件的介绍也没有相关内容
各个区我都看完了,才来回答的,我不想某些人什么都不查找就直接来问
而且,深度的东西很多是要注册的!
我没用深度的软件,只是以前下载试用过。所以具体名称我也不清楚。
正式名称为:DeepDOS 深度DOS个人版 Personal Edition V4.00
有要注册的?那就不清楚了。我见到的有安装版和绿色版。好像没有限制。
试用了一下,下面是深度处理后的文件。
gho.ini
H:\BACKUP\SYS.GHO 1,510,678KB 05-05-2007
H:\~1\SYS0.GHO 1,491,368KB 04-20-2007
==================================
搜索引擎.BAT
@echo off
set searchfolder=
set object=
set object=%1
for %%a in (r R) do if %2#==-%%a# set searchfolder=Yes
echo 搜索范围:所有存在驱动器的根目录和一级目录>%temp%\me.bak
echo 搜索对象:%1>>%temp%\me.bak
echo 搜索路径:>>%temp%\me.bak
echo.>>%temp%\me.bak
echo.>>%temp%\me.bak
echo.>>%temp%\me.bak
echo 搜索结果:>>%temp%\me.bak
call vtm /T %temp%\me.bak %temp%\menu.bak
wbat fill24,10(1,62)(white on +black) " "
wbat fill16,10(7,62)(white on +black) " " !text17,10@%temp%\menu.bak
wbat text21,16(1,50)(+white on black) "[ ]"
for %%a in (folder result) do if exist %temp%\%%a.txt del %temp%\%%a.txt
drvtypes /d>%temp%\drv.txt
type %temp%\drv.txt|find /v "A:"|find /v "B:"|find /v "%RAMDRIVE%" >%temp%\drv.txt
strings linage=linesize %temp%\drv.txt
strings drv=read %temp%\drv.txt,1
if %drv%#==# goto end
strings linage=add %linage%,1
set number=0
:cycle
if %number%#==%linage%# goto next
strings number=add %number%,1
strings drv=read %temp%\drv.txt,%number%
if %drv%#==# goto cycle
dready %drv% /w |if errorlevel 2 goto cycle
echo %drv%>>%temp%\folder.txt
if %searchfolder%#==# goto cycle
dir "%drv%" /ad/b>%temp%\path.txt
strings linepath=read %temp%\path.txt,1
if %linepath%#==# goto cycle
strings linepath=linesize %temp%\path.txt
strings linepath=add %linepath%,1
set pathnum=0
:pcycle
if %pathnum%#==%linepath%# goto cycle
strings pathnum=add %pathnum%,1
strings folder=read %temp%\path.txt,%pathnum%
if %folder%#==# goto pcycle
echo %drv%\%folder%>>%temp%\folder.txt
goto pcycle
:next
for %%a in (searchfolder linage drv number linepath pathnum folder) do set %%a=
strings linage=linesize %temp%\folder.txt
strings linage=add %linage%,1
calc387 49 / %linage%>%temp%\norm.txt
strings norm=read %temp%\norm.txt,1
set guage=1
set number=0
:search
if %number%#==%linage%# goto end
strings number=add %number%,1
strings location=read %temp%\folder.txt,%number%
if %location%#==# goto search
dir "%location%\%object%" /a/b >%temp%\file.txt
strings filenum=read %temp%\file.txt,1
if %filenum%#==# goto guage
strings filenum=linesize %temp%\file.txt
strings filenum=add %filenum%,1
set num=0
:file
if %num%#==%filenum%# goto guage
strings num=add %num%,1
strings file=read %temp%\file.txt,%num%
if %file%#==# goto file
set wz=0
set filesize=
set filedate=
strings filesize=filesize %location%\%file%|if errorlevel 1 goto result
strings filedate=filedate %location%\%file%>nul
strings filesize=div %filesize%,1024
if %filesize%#==0# set filesize=1
strings length=length %filesize%
set div=%filesize%
:div
strings div=div %div%,1024
if not %div%#==0# strings wz=add %wz%,1
if not %div%#==0# goto div
strings wz=add %length%,%wz%
strings wz=sub 38,%wz%
strings filesize=addcommas %filesize%
set filesize=%filesize%KB
:result
set name=%location%\%file%
if not %wz%#==0# strings name=left %name%,%wz%
echo %name% %filesize% %filedate%>>%temp%\result.txt
wbat fill24,10(1,62)(white on +black) " " !text24,15 "%name% %filesize% %filedate%"
goto file
:guage
calc387 %guage% + %norm%>%temp%\norm.txt
strings guage=read %temp%\norm.txt,1
strings _dot=filename %guage%
calc387 %guage% * 2 - 1>%temp%\norm.txt
strings percent=read %temp%\norm.txt,1
strings percent=filename %percent%
wbat fill19,26(1,40)(white on +black) " " !text19,26(1,40) "%location%"
wbat fill21,16(1,%_dot%)(white on blue) !text21,39(1,2) "%percent%%%"
goto search
:end
wbat fill21,16(1,50)(white on blue) !text21,39(1,2) "100%%"
for %%a in (gho GHO iso ISO) do if %1#==*.%%a# if exist %temp%\result.txt copy %temp%\result.txt %temp%\%%a.ini /y >nul
for %%a in (drv folder path file norm) do if exist %temp%\%%a.txt del %temp%\%%a.txt
for %%a in (menu me) do if exist %temp%\%%a.bak del %temp%\%%a.bak
for %%a in (linage norm guage number location num file filenum object _dot percent filesize filedate wz length div name) do set %%a= |
|