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-06-30 21:41
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » (Solved it by myself - but a new problem arises! How to solve the problem that after loading Tianhui, it cannot be started) View 3,294 Replies 30
Original Poster Posted 2006-10-29 00:04 ·  中国 北京 中国中信股份有限公司
中级用户
★★
Credits 310
Posts 97
Joined 2004-05-26 00:00
22-year member
UID 25372
Gender Male
Status Offline
I made a DOS Chinese bootable disk, which integrates common DOS tools. It uses the improved version of tw 3.2.

However, when entering DiskGen using a batch script, DiskGen fails to start.

How to solve it?

This is my batch script:
------------------
@echo off
tw /q
echo.
ctmouse
cd diskgen
diskgen
--------------------

Tested on VMware.

If I run tw /q before running DiskGen and then manually run DiskGen, there are no errors.

It is obvious that there is a conflict between tw and DiskGen.

I don't know how to write this batch script.

Thanks.

After the batch script runs DiskGen, DiskGen flashes by, and the error message is as shown in the following figure (the figure poked on VMware):



--------------------
The previous DiskGen has been solved, but the new problem is:
If the USB driver is loaded, DiskGen cannot be called again!


[ Last edited by shawell518 on 2006-10-31 at 05:17 AM ]
Attachments
untitled.JPG
untitled.JPG
Floor 2 Posted 2006-10-29 03:00 ·  中国 甘肃 兰州 电信
初级用户
★★
Credits 145
Posts 66
Joined 2006-10-03 10:40
19-year member
UID 64417
Gender Male
Status Offline
DiskGen itself has Chinese display, no need to load tw
Floor 3 Posted 2006-10-29 03:13 ·  中国 四川 南充 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
Floor 4 Posted 2006-10-29 04:54 ·  中国 河南 洛阳 电信
银牌会员
★★★
Credits 1,455
Posts 712
Joined 2006-01-20 10:26
20-year member
UID 49246
Status Offline
Hehe, DiskGen is almost likely to conflict with all Chinese platforms! But when its working environment changes, the conflict may be avoided.
For example: When the boot CD I made enters the DOS system by loading the optical drive method, DiskGen conflicts with TW. After uninstalling TW, there will be no conflict, which is similar to the phenomenon of the landlord; but when entering DOS by non-loading optical drive method, there will be no conflict with TW! When I use EasyBoot to make the CD image, the above phenomenon will occur; but when using UltraISO to make the CD image, the above phenomenon has never occurred again.
Floor 5 Posted 2006-10-29 06:43 ·  中国 江苏 南京 联通
高级用户
★★
Credits 525
Posts 222
Joined 2006-08-28 21:07
19-year member
UID 61476
Status Offline
Try using TW /np /nw /n3 >nul, then try uninstalling it.
Floor 6 Posted 2006-10-29 08:57 ·  中国 北京 中国中信股份有限公司
中级用户
★★
Credits 310
Posts 97
Joined 2004-05-26 00:00
22-year member
UID 25372
Gender Male
Status Offline
Originally posted by cchessbd at 2006-10-29 06:43 AM:
Try using TW /np /nw /n3 >nul, then uninstall and try it.


Okay

I'll try

Test again
Floor 7 Posted 2006-10-29 09:17 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
diskgen has a bug besides conflicting with Tianhui. It cannot be started by calling the BAT method with the CALL command. That is, when called by WBAT, it cannot return the parameters to the upper menu, and can only be placed at the end of the batch file. I wasted several days on this bug~
第一高手 第二高手

Floor 8 Posted 2006-10-29 09:19 ·  中国 北京 中国中信股份有限公司
中级用户
★★
Credits 310
Posts 97
Joined 2004-05-26 00:00
22-year member
UID 25372
Gender Male
Status Offline
Originally posted by cchessbd at 2006-10029 06:43 AM:
Try TW /np /nw /n3 >nul, then uninstall it and try.


I tried it on the virtual machine, still no good.

Thank you for your reply.

I don't know how the actual disk will perform after burning it.

Only this one hasn't been fixed on the virtual machine.

However, there are other methods, but it's not directly starting DiskGen.
Floor 9 Posted 2006-10-29 10:07 ·  中国 北京 中国中信股份有限公司
中级用户
★★
Credits 310
Posts 97
Joined 2004-05-26 00:00
22-year member
UID 25372
Gender Male
Status Offline
Originally posted by fastslz at 2006-10-29 09:17 AM:
In addition to conflicting with Tianhui, diskgen has another bug: it cannot be started by calling the BAT method using the CALL command. That is, using WBAT to call it cannot return to the upper-level menu parameters, and it can only be placed at the end of the batch processing. Just...


Strange, on the hard disk in the virtual machine, I also used tw, but there was no problem when calling diskgen with a batch processing!
But on the CD in the virtual machine, after using tw to display Chinese, the call to diskgen with batch processing was not successful!


What is the big difference between directly starting diskgen with the same batch processing on the CD and hard disk in the virtual machine?
Floor 10 Posted 2006-10-29 10:29 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
For diskgen, it's okay to run on a real machine
第一高手 第二高手

Floor 11 Posted 2006-10-29 10:33 ·  中国 北京 中国中信股份有限公司
中级用户
★★
Credits 310
Posts 97
Joined 2004-05-26 00:00
22-year member
UID 25372
Gender Male
Status Offline
Originally posted by fastslz at 2006-10-29 10:29 AM:
For DiskGen to run properly on a real machine is okay


You may have misinterpreted my meaning

I mean, getting different results on the hard disk of the virtual machine and on the CD of the virtual machine
Floor 12 Posted 2006-10-29 10:50 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
CD-ROM read-only mode, running diskgen will generate temporary files哦
第一高手 第二高手

Floor 13 Posted 2006-10-29 18:39 ·  中国 江苏 南京 电信
高级用户
★★
Credits 525
Posts 222
Joined 2006-08-28 21:07
19-year member
UID 61476
Status Offline
Originally posted by shawell518 at 2006-10-29 09:19:


I tried it on the virtual machine, but it still didn't work.

Thank you for your reply.

I don't know how the actual disk will perform after burning it to a disk.

I just couldn't get this to work on the virtual machine.

However, there are other methods, but it's not straightforward...


If it's still not resolved,
Go to the "Software Release" directory at http://free5.ys168.com/?nhccrgd to download my boot disk and give it a try.
Mine can be executed in the virtual machine. No problems were found with VPC2007 Bata and VMWare5.5.2.
Floor 14 Posted 2006-10-29 18:41 ·  中国 江苏 南京 电信
高级用户
★★
Credits 525
Posts 222
Joined 2006-08-28 21:07
19-year member
UID 61476
Status Offline
For programs, it's best not to use the CALL form. As far as I know, after loading Chinese, KVFIX and DISKGEN will cause some motherboards to freeze when using CALL. But the old 815 motherboards seem to have no such problem.

[ Last edited by cchessbd on 2006-10-29 at 07:38 PM ]
Floor 15 Posted 2006-10-29 19:51 ·  中国 北京 中国中信股份有限公司
中级用户
★★
Credits 310
Posts 97
Joined 2004-05-26 00:00
22-year member
UID 25372
Gender Male
Status Offline
Originally posted by fastslz at 2006-10-29 10:50 AM:
CD read-only mode, running diskgen will generate temporary files哦



Disagree with this view

Why not use tw (without starting tw first), but there is no problem?
Forum Jump: