|
cls
call %okce% as
if not %sdp%#==1:1# echo %AS%
if not %sdp%#==1:1# dir /a /b /s %drv%\*.gho >tmp_gho.txt
type tmp_gho.txt|find /i ".gho" > nul
if errorlevel 1 goto _loop
set line1=0
:_loop1
strings line1=add %line1%,1
strings lined1=read tmp_gho.txt,%line1%
if %lined1%#==# goto _loop
strings grp=mid %lined1%,3
strings write gho.txt,%sdp%%grp%
goto _loop1
:_endlp
set actp=%rds%:%rps%
if exist tmp*.txt del tmp*.txt
type gho.txt|find /i ".gho" > nul
if errorlevel 1 set errss=3
if %errss%#==3# del gho.txt
if %errss%#==3# goto _ends
strings lines=linesize gho.txt
if not %lines%#==1# goto _ends
strings rgrp=read gho.txt,2
:_ends
call untfs.bat
[ 本帖最后由 jeremy 于 2010-11-12 11:11 编辑 ] |
|