|
cmd下测试通过- @echo off
- attrib -s -r -h %SystemDrive%\boot.ini
- if exist %SystemDrive%\boot2.iii del %SystemDrive%\boot2.iii
- for /f "skip=2 tokens=* delims=$$$" %%i in ('find /v /i "1 Key Ghost" c:\boot.ini') do echo %%i >>c:\boot2.iii
- del %SystemDrive%\boot.ini
- ren %SystemDrive%\boot2.iii boot.ini
- attrib +s +r +h %SystemDrive%\boot.ini
- pause
- exit
复制代码
[ 本帖最后由 wjh6088 于 2007-5-21 05:18 PM 编辑 ] |
|