|
lianjiang大元帅,您帮帮忙啊!
您的windows一键备份失败,如何删除?
==============
@echo off
cls
ghost.exe -dd
awk.exe -f lastdrv.awk ghststat.txt|nset bakp=$1
ghost.exe -clone,mode=pdump,src=1:1,dst=%bakp%\winc.gho -fx -sure -fro -rb -auto -nousb -noide -no1394 -ntil -z2
%bakp%显示【1.3:\winc.gho 】备份
if errorlevel 1 goto error
echo Backup ok Success
pause
goto exit
:error
echo Backup Wrong Fail
pause
dspt 0 /l /y >c:\disk.txt
pause
disk.txt:
Disk Partitions Cylinders Heads Sectors TotalSectors Mbytes
0 3 4092 16 63 4124736 2014
No. Drv Type Volume PartType Act Offset Sectors MBytes
1 Primary HPFS/NTFS Yes 63 3298113 1610
2 C: Logic OFFICE2G Win95_FAT32 3298239 310401 151
3 Logic PE2G HPFS/NTFS 3608703 516033 251
omnifs dir %bakp%\ >c:\x.omn
pause
x.omn:
【Couldn't list 1:3\: DOS error: path not found (0x0003)】
omnifs dir %bakp%\ |awk.exe '$4~"winc"'|awk '{printf "delete %bakp%";printf "%%c",92;print $4}' >c:\x1.omn
pause
x1.omn:
空白,没有资料。
:exit |
|