|
hujintao
初级用户
 
积分 74
发帖 21
注册 2006-8-9
状态 离线
|
『楼 主』:
xzl,版面乱掉,怎么办?
使用 LLM 解释/回答一下
用了xzl,版面乱掉的。右边的跑到左边,还看不到光标左边的部分
Last edited by hujintao on 2006-8-13 at 12:17 ]
After using xzl, the layout is messed up. The content on the right runs to the left, and the part to the left of the cursor is not visible.
Last edited by hujintao on 2006-8-13 at 12:17 ]
|
|
2006-8-12 08:52 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
最好把.BAT内容贴出来!
提示:每行中文字数不要超过40个
It is best to post the content of the .BAT!
Tip: The number of Chinese characters in each line should not exceed 40
|
|
2006-8-14 13:12 |
|
|
hujintao
初级用户
 
积分 74
发帖 21
注册 2006-8-9
状态 离线
|
『第 3 楼』:
就是这个样子,实际显示最右边的一行跑到左边,还看不到A
使用 LLM 解释/回答一下
贴出来是这样,在记事本中是整齐的
:fres0
@echo off
smartdrv
xmsdsk 2048 /y
findramd
copy a:\format.com %RAMDRIVE%
copy a:\ghost.exe %RAMDRIVE%
tw.exe /np
cls
@echo.
@ECHO.
@ECHO.
@ECHO.
@ECHO.
@ECHO.
@ECHO.
@ECHO * * * * * * * * * * * * * * * * * * * * * *
@echo * *
@echo * 使用××恢复盘 *
@ECHO * *
@echo * 还你干净的C 盘 *
@ECHO * *
@echo * 本启动盘可~ 格 式 化 C盘 ~并还原系统 *
@ECHO * *
@echo * 请用户确认g:\bak\sys.gho备份文件存在 *
@ECHO * *
@ECHO * * * * * * * * * * * * * * * * * * * * * *
@ECHO.
@ECHO.
@echo ×××出品
@echo QQ ×××××× @echo 版权所有未经许可不得复制
@ECHO.
@echo 正在格式化,稍后恢复系统...
%RAMDRIVE%
format c: /q /autotest
ghost.exe -clone,mode=pload,src=1:5\bak\sys.gho,dst=1:1 -sure -fx -rb
goto end
Last edited by hujintao on 2006-8-14 at 13:51 ]
When pasted, it looks like this, and in Notepad it is neat
:fres0
@echo off
smartdrv
xmsdsk 2048 /y
findramd
copy a:\format.com %RAMDRIVE%
copy a:\ghost.exe %RAMDRIVE%
tw.exe /np
cls
@echo.
@ECHO.
@ECHO.
@ECHO.
@ECHO.
@ECHO.
@ECHO.
@ECHO * * * * * * * * * * * * * * * * * * * * * *
@echo * *
@echo * Use ×× Restore Disk *
@ECHO * *
@echo * Restore Your Clean C Drive *
@ECHO * *
@echo * This bootable disk can ~ format C drive ~ and restore the system *
@ECHO * *
@echo * Please confirm that the g:\bak\sys.gho backup file exists *
@ECHO * *
@ECHO * * * * * * * * * * * * * * * * * * * * * *
@ECHO.
@ECHO.
@echo Produced by ×××
@echo QQ ×××××× @echo All rights reserved. No reproduction without permission
@ECHO.
@echo Formatting is in progress, system restoration will be done later...
%RAMDRIVE%
format c: /q /autotest
ghost.exe -clone,mode=pload,src=1:5\bak\sys.gho,dst=1:1 -sure -fx -rb
goto end
Last edited by hujintao on 2006-8-14 at 13:51 ]
|
|
2006-8-14 13:47 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
:FRES0
@ECHO OFF
SMARTDRV
XMSDSK 2048 /Y
FINDRAMD
COPY A:\FORMAT.COM %RAMDRIVE%
COPY A:\GHOST.EXE %RAMDRIVE%
TW.EXE /NP
CLS
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO * * * * * * * * * * * * * * * * * * * * * *
ECHO * *
ECHO * 使用××恢复盘 *
ECHO * *
ECHO * 还你干净的C 盘 *
ECHO * *
ECHO * 本启动盘可~ 格 式 化 C盘 ~并还原系统 *
ECHO * *
ECHO * 请用户确认G:\BAK\SYS.GHO备份文件存在 *
ECHO * *
ECHO * * * * * * * * * * * * * * * * * * * * * *
ECHO.
ECHO.
ECHO ×××出品
ECHO QQ ××××××
ECHO 版权所有未经许可不得复制
ECHO.
ECHO 正在格式化,稍后恢复系统...
%RAMDRIVE%
FORMAT C: /Q /AUTOTEST
TW /Q
ghost.exe -clone,mode=pload,src=1:5\bak\sys.gho,dst=1:1 -sure -fx -rb
GOTO END
你用的是天汇中文系统,并非袖珍龙!另外ghost前格式化多此一举就不说了,还有2个非常非常的不妥!!!
1:如果系统盘磁盘格式是NTFS格式,此时用FORMAT C: /Q /AUTOTEST格式化用户数据,被人家打PP的!
2:排除1假设C盘是FAT32格式化后ghost失败连原来的系统也启动不起来,因为1:1在某些品牌电脑上是保留分区,而1:2才是系统分区。
Last edited by fastslz on 2006-8-14 at 16:24 ]
:FRES0
@ECHO OFF
SMARTDRV
XMSDSK 2048 /Y
FINDRAMD
COPY A:\FORMAT.COM %RAMDRIVE%
COPY A:\GHOST.EXE %RAMDRIVE%
TW.EXE /NP
CLS
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO * * * * * * * * * * * * * * * * * * * * * *
ECHO * *
ECHO * Use ×× Restore Disk *
ECHO * *
ECHO * Restore Your Clean C Drive *
ECHO * *
ECHO * This boot disk can ~ format C drive ~ and restore system *
ECHO * *
ECHO * Please confirm that the G:\BAK\SYS.GHO backup file exists *
ECHO * *
ECHO * * * * * * * * * * * * * * * * * * * * * *
ECHO.
ECHO.
ECHO Produced by ×××
ECHO QQ ××××××
ECHO All rights reserved. No reproduction without permission
ECHO.
ECHO Formatting now, restoring system later...
%RAMDRIVE%
FORMAT C: /Q /AUTOTEST
TW /Q
ghost.exe -clone,mode=pload,src=1:5\bak\sys.gho,dst=1:1 -sure -fx -rb
GOTO END
You are using Tianhui Chinese system, not Pocket Dragon! Also, the prior formatting of ghost is redundant, and there are 2 very, very improper points!!!
1: If the system drive disk format is NTFS format, at this time formatting user data with FORMAT C: /Q /AUTOTEST will get you in trouble!
2: Excluding the assumption in 1 that the C drive is FAT32, after formatting, if ghost fails, the original system won't boot up either, because 1:1 is a reserved partition on some brand computers, and 1:2 is the system partition.
Last edited by fastslz on 2006-8-14 at 16:24 ]
|
|
2006-8-14 16:20 |
|
|
hujintao
初级用户
 
积分 74
发帖 21
注册 2006-8-9
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
ghost前格式化是因为本人的朋友遇到过几次中毒直接还原后不停重启和仍然感染,而格式化后还原就没事了,所以想做这样的一键恢复,主要是给二个朋友都是菜鸟(连dos命令都不会打,我在他们眼里还是高手:)。他们都是fat32的C盘
上面的autoexec.bat中的tw是后来改的,用Tw就没问题了,可惜太大
Formatting before ghosting is because my friend encountered several times where after a direct restore, there were continuous reboots and still infections, while after formatting and then restoring, it was fine. So I want to make such a one-click recovery. Mainly for two friends who are both noobs (can't even type DOS commands, I'm still considered a pro in their eyes :)). Their C drives are both fat32. The tw in the autoexec.bat above was changed later, using Tw is fine, but it's a pity it's too large
|
|
2006-8-14 18:13 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
上面我也没注意ghost.exe -clone,mode=pload,src=1:5\bak\sys.gho,dst=1:1 -sure -fx -rb参数是错的
ghost.exe -clone,mode=pload,src=1:5:\bak\sys.gho,dst=1:1 -sure -rb
至于ghost前格式化是因为本人的朋友遇到过几次中毒直接还原后不停重启和仍然感染的情况我和format没关系的,何况是/Q 快速格式化。
另外说明我们写批处理对format慎重一点,就你所说也不排除你那二个朋友给他们的朋友用这个批处理
I didn't pay attention above that the parameters of ghost.exe -clone,mode=pload,src=1:5\bak\sys.gho,dst=1:1 -sure -fx -rb are wrong.
ghost.exe -clone,mode=pload,src=1:5:\bak\sys.gho,dst=1:1 -sure -rb
As for formatting before ghost, it's because my friend has encountered several situations where after direct restoration, there were continuous restarts and still infections. It has nothing to do with me and format, besides it's /Q quick format.
In addition, it's explained that we are cautious about format when writing batch processing. As you said, it's not excluded that your two friends used this batch processing for their friends.
|
|
2006-8-14 19:16 |
|
|
hujintao
初级用户
 
积分 74
发帖 21
注册 2006-8-9
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
ghost参数是参照别人的写的,我也觉得-fx多余,但不影响使用。
直接ghost还原仍然有毒或有问题的情况我确实碰到过多次,每次都是format后就没事,我也不知道如何解释。联想以前一次还原到整个硬盘,用diskgen找回分区表后数据都在的情况,我想顽固的病毒可能还会保留在硬盘啊。
好像跑题了
The ghost parameter is written by referring to others. I also think -fx is redundant, but it doesn't affect the use.
I have indeed encountered many times the situation where there are still viruses or problems when directly ghost restoring. Every time, it's fine after formatting. I don't know how to explain it. Thinking of the previous situation where I restored to the entire hard disk and recovered the partition table with diskgen and all the data was there, I think stubborn viruses may still remain on the hard disk.
It seems to be off the topic.
|
|
2006-8-14 20:06 |
|