中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-26 20:40
47,812 topics / 349,912 posts / today 2 new / 48,264 members
DOS汉化世界 & 中文系统 (中文化室) » xzl, the layout is messed up, what should I do?
Printable Version  1,846 / 6
Floor1 hujintao Posted 2006-08-12 08:52
初级用户 Posts 21 Credits 74
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 ]
Floor2 fastslz Posted 2006-08-14 13:12
铂金会员 Posts 2,315 Credits 5,493 From 上海
It is best to post the content of the .BAT!
Tip: The number of Chinese characters in each line should not exceed 40
Floor3 hujintao Posted 2006-08-14 13:47
初级用户 Posts 21 Credits 74
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 ]
Floor4 fastslz Posted 2006-08-14 16:20
铂金会员 Posts 2,315 Credits 5,493 From 上海
: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 ]
Floor5 hujintao Posted 2006-08-14 18:13
初级用户 Posts 21 Credits 74
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
Floor6 fastslz Posted 2006-08-14 19:16
铂金会员 Posts 2,315 Credits 5,493 From 上海
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.
Floor7 hujintao Posted 2006-08-14 20:06
初级用户 Posts 21 Credits 74
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.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023