
CODE: [Copy to clipboard][ Last edited by namejm on 2006-9-18 at 09:51 ]@echo off
attrib -s -h -r %systemdrive%\boot.ini
cd.>%systemdrive%\boot.txt
setlocal enabledelayedexpansion
for /f "tokens=*" %%i in (%systemdrive%\boot.ini) do (
set var=%%i
set "var=!var:5=3!"
set "var=!var:一键GHOST v8.3 Build 060903=="南阳赛维科技一键还原专用版"!"
echo !var!>>%systemdrive%\boot.txt
)
ren %systemdrive%\boot.ini boot_bak.ini
ren %systemdrive%\boot.txt boot.ini
attrib +s +h +r %systemdrive%\boot.ini
attrib +h +r %systemdrive%\boot_bak.ini
附件 1:a.rar (2006-9-19 01:10, 292 bytes, 下载附件所需积分 1 点 ,下载次数: 28)
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |