China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-23 11:59
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » [Seeking revisions] System install/backup/restore boot disk (Chinese) View 2,177 Replies 21
Floor 16 Posted 2003-08-02 00:00 ·  中国 黑龙江 牡丹江 联通
中级用户
新DOS时代绿色菜狼
Credits 229
Posts 42
Joined 2003-07-03 00:00
23-year member
UID 6341
Gender Male
Status Offline
The following is quoted from dsm75's post at 2003-7-31 21:32:34:
%cdrom% is a variable automatically assigned by Wengier's dos boot disk's fincd file. %RAMDRIVE% is also automatically assigned by Wengier's findramd file
You can add this at the end of autoexec.bat
findcd >nul
findramd >nul
and then copy these two files to drive A:

xmsdsk 4096 /y /t can load a virtual drive
For details, you can look at Wengier's boot disk, there are still quite a lot of useful things in it

Many thanks!
I did this and tested it many times, but lastdrv is still cdrom, and I can't find where the problem is. (If the CD-ROM drive is loaded later, after Gohst, when entering the DOS prompt option, then there is no problem. But this is not the fundamental solution.)

I'm uploading the attachment now, and hope someone can find the problem. Please help as well. Afterward, I'll trouble the moderator to delete the attachment again.
Open attachment
Floor 17 Posted 2003-08-05 00:00 ·  中国 黑龙江 牡丹江 联通
中级用户
新DOS时代绿色菜狼
Credits 229
Posts 42
Joined 2003-07-03 00:00
23-year member
UID 6341
Gender Male
Status Offline

Many thanks!
I did this and tested it many times, but lastdrv is still cdrom, and I can't find where the problem is. (If the CD-ROM drive is loaded later, after Gohst, when entering the DOS prompt option, then there is no problem. But this is not the fundamental solution.)

I'm uploading the attachment now, and hope someone can find the problem. Please help as well. Afterward, I'll trouble the moderator to delete the attachment again.
Open attachment

Three days have passed. Can anyone find the problem and explain it...?











Floor 18 Posted 2003-08-05 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Or try this:

for %f in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do call chkdrv.bat %f
echo The drive letter of the last hard disk is: %1:

Contents of chkdrv.bat:
@echo off
xset /search "HARDDISK" drv drivetest %1
if %drv%#==HARDDISK set lastdrv=%1
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 19 Posted 2003-08-09 00:00 ·  中国 上海 鹏博士宽带
初级用户
Credits 107
Posts 1
Joined 2003-07-29 00:00
22-year member
UID 7683
Gender Male
Status Offline
How can I stop Ghost from writing log files such as ghosterr.txt to drive A: when restoring the system?? I burned the OP's system restore disk into a bootable CD, and in that case drive A: cannot be written to! Please help me, thanks a lot!
Also, Ghost supports NTFS partitions, but in fully automatic backup and restore it doesn't recognize them. How can this be solved?
Floor 20 Posted 2003-08-12 00:00 ·  中国 黑龙江 牡丹江 联通
中级用户
新DOS时代绿色菜狼
Credits 229
Posts 42
Joined 2003-07-03 00:00
23-year member
UID 6341
Gender Male
Status Offline
The following is quoted from liudp1208's post at 2003-8-9 13:30:46:
How can I stop Ghost from writing log files such as ghosterr.txt to drive A: when restoring the system?? I burned the OP's system restore disk into a bootable CD, and in that case drive A: cannot be written to! Please help me, thanks a lot!
Also, Ghost supports NTFS partitions, but in fully automatic backup and restore it doesn't recognize them. How can this be solved?

Personally, I think it only writes the ghosterr.txt file to drive A: when an error occurs; Ghost2003 supports NTFS partitions in its own interface, while automatic backup and restore determine partitions under DOS (which does not recognize NTFS partitions), so I'm afraid it probably won't work.
Floor 21 Posted 2003-08-13 00:00 ·  中国 广西 柳州 电信
高级用户
★★★
Credits 915
Posts 309
Joined 2002-12-22 00:00
23-year member
UID 567
Gender Male
Status Offline
My eyes are already spinning from reading all this. Here's one, not sure whether you can use it for reference:
http://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?BoardID=11&replyID=35234&id=5447&star=1&skin=0
Floor 22 Posted 2003-08-13 00:00 ·  中国 黑龙江 牡丹江 联通
中级用户
新DOS时代绿色菜狼
Credits 229
Posts 42
Joined 2003-07-03 00:00
23-year member
UID 6341
Gender Male
Status Offline
The following is quoted from Wengier's post at 2003-8-5 5:53:45:
Or try this:

for %f in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do call chkdrv.bat %f
echo The drive letter of the last hard disk is: %1:

Contents of chkdrv.bat:
@echo off
xset /search "HARDDISK" drv drivetest %1
if %drv%#==HARDDISK set lastdrv=%1



Leader of the Union: why can I never get it to work? Is there really no way?
Thanks!
Forum Jump: