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-08-01 13:22
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » I want to execute the Chinese localization system before the batch file is executed View 7,697 Replies 15
Original Poster Posted 2002-12-13 00:00 ·  中国 江苏 南京 电信
初级用户
Credits 130
Posts 10
Joined 2002-12-13 00:00
23-year member
UID 494
Gender Male
Status Offline
I want to execute the Chinese localization system (Tianhui) before the batch file is executed. Can it be achieved? How to achieve it?

I currently have AUTOEXEC.BAT, CONFIG.SYS and Tianhui (TW.EXE) in addition to three system files on the floppy disk.

AUTOEXEC.BAT:
@ECHO OFF
tw
PATH=A:\
goto %config%

:GH1
D:
CD GHOST
Ghost-clone,mode=pload,src=g:\ghost\win(1).gho:1,dst=1:1 /sure /rb
GOTO END

:GH2
D:
CD GHOST
Ghost-clone,mode=pload,src=g:\ghost\win(2).gho:1,dst=1:1 /sure /rb
GOTO END

:GH3
D:
CD GHOST
Ghost-clone,mode=pload,src=g:\ghost\win(3).gho:1,dst=1:1 /sure /rb
GOTO END

OS
GOTO END

:END

CONFIG.SYS:

MENUITEM=GH1 ,Starting Enter To GHOST1
MENUITEM=GH2 ,Starting Enter To GHOST2
MENUITEM=GH3 ,Starting Enter To GHOST3
MENUITEM=DOS ,Starting Enter To DOS
MENUCOLOR=7,1
MENUDEFAULT=DOS,30

DEVICE=A:\HIMEM.SYS
DOS=HIGH,UMB


DEVICE=A:\HIMEM.SYS
DOS=HIGH,UMB


DEVICE=A:\HIMEM.SYS
DOS=HIGH,UMB


DEVICE=A:\HIMEM.SYS
DOS=HIGH,UMB

It always executes the menu file first and then executes the TW.EXE file, and it is displayed as garbled code (the TW file is fine). Can I package AUTOEXEC.BAT and CONFIG.SYS into a CAB file or an EXE file, and then I will create a new batch file. Execute TW.EXE first and then execute that packaged file. I don't understand at all. I don't know if this is feasible? Also, if I want the menu to display in Chinese, do I need to graphically display the menu, how to compile it? (Difficult), are there any good software?
Hehe! A lot of questions
Floor 2 Posted 2002-12-13 00:00 ·  中国 广东 佛山 三水区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
It is not possible unless you modify the boot sector code on the DOS disk and need to display Chinese characters independently of DOS, like some protection cards. Normally, the boot sequence of DOS is always DOS boot record - IO.STS - MSDOS.SYS - CONFIG.SYS - COMMAND.COM - AUTOEXEC.BAT
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 3 Posted 2002-12-13 00:00 ·  中国 江苏 南京 电信
初级用户
Credits 130
Posts 10
Joined 2002-12-13 00:00
23-year member
UID 494
Gender Male
Status Offline
Can BAT file be used to create a menu? And how to make a submenu if there is one?
Floor 4 Posted 2002-12-13 00:00 ·  中国 广东 佛山 三水区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
DOS itself seems to have a CHOIC that can be used to create basic menus. For more complex menus, it is suggested to use enhanced software like BE in NORTON.
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 5 Posted 2002-12-13 00:00 ·  中国 江苏 南京 电信
初级用户
Credits 130
Posts 10
Joined 2002-12-13 00:00
23-year member
UID 494
Gender Male
Status Offline
The following is a quote from MYS on 2002-12-13 19:13:38:
DOS itself seems to have a CHOIC that can create basic menus. For complex menus, it is recommended to use enhanced software like BE in NORTON.


Actually, I am just a novice who has become interested in DOS. I am exploring many things. I find it very interesting and rewarding to learn, so I need detailed help from all the seniors in many aspects.

I want to make a floppy disk system that integrates GHOST automatic (batch processing) recovery, automatic motherboard BIOS repair, automatic video card BIOS and ME recovery in black screen, and large partition FDISK, etc. I also want to realize Chinese localization and menuization under DOS. In this way, many friends who don't understand DOS and are unfamiliar with hardware systems can use it. Hehe! Is it a bit far-fetched?
Floor 6 Posted 2002-12-13 00:00 ·  中国 广东 佛山 禅城区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
Hehe, there is a bit of the daring of a green hand who doesn't fear tigers.
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 7 Posted 2002-12-13 00:00 ·  中国 江苏 南京 电信
初级用户
Credits 130
Posts 10
Joined 2002-12-13 00:00
23-year member
UID 494
Gender Male
Status Offline
Actually, if you don't do Chinese ones, making a single floppy disk with one function is quite easy to achieve. But I didn't expect it to be so difficult to combine them together!

Boss, where are there good materials for me to look at?
Floor 8 Posted 2002-12-13 00:00 ·  中国 江苏 南京 电信
初级用户
Credits 130
Posts 10
Joined 2002-12-13 00:00
23-year member
UID 494
Gender Male
Status Offline
Ask a question! Why does Tianhui (TW) display garbled characters in the startup files (IO.SYS, COMMAND.COM, MSDOS.SYS, just these three) made in the WIN system, but it displays normally under 6.22. I don't know how 7.01 is. But I don't know where to download these three files of 7.01?
Floor 9 Posted 2002-12-14 00:00 ·  中国 广东 佛山 三水区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
How do you use it? Actually, most new Chinese character systems can be used in DOS 7.X and FAT32.
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 10 Posted 2002-12-14 00:00 ·  中国 江苏 南京 电信
初级用户
Credits 130
Posts 10
Joined 2002-12-13 00:00
23-year member
UID 494
Gender Male
Status Offline
Hehe! Now I know why it starts in Chinese. It's by creating the menu file MENU. But this way, going layer by layer, there are too many files!
Floor 11 Posted 2002-12-21 00:00 ·  中国 辽宁 沈阳 沈河区 联通
初级用户
Credits 140
Posts 14
Joined 2002-11-11 00:00
23-year member
UID 220
Gender Male
Status Offline
How did you do it?
Floor 12 Posted 2002-12-21 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
I seem to have never seen any Chinese character system that cannot run in MS-DOS 7.x. Not "most", but "all".
Wengier - 新DOS时代

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

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

Floor 13 Posted 2002-12-30 00:00 ·  中国 广西 贵港 电信
高级用户
★★★
Credits 915
Posts 309
Joined 2002-12-22 00:00
23-year member
UID 567
Gender Male
Status Offline


Floor 14 Posted 2002-12-30 00:00 ·  中国 北京 263网络通信股份有限公司
银牌会员
★★★
nre
Credits 1,210
Posts 361
Joined 2002-12-28 00:00
23-year member
UID 629
Gender Male
Status Offline
The idea is good, but it's very difficult to implement, especially for functions like repairing BIOS. Because you have to first detect the motherboard type and model, and select different update programs, BIOS files, and parameters according to different situations. This requires you to be very familiar with the hardware parameters of most motherboards on the market, but this is almost impossible for an ordinary technician. As for the Chinese character system and graphical interface, actually I think it's unnecessary. You can use software like VC, NC to deal with DOS Chinese character file directories. It's very difficult to make a program with high efficiency and high compatibility through batch processing and some personally written FREE for the graphical interface at present. You see, system disks made by高手 like WENGIER never integrate Chinese character systems and graphical systems. He gives priority to compatibility, stability, large memory and high speed.

Teamwork !
Floor 15 Posted 2003-01-03 00:00 ·  中国 江苏 南京 电信
初级用户
Credits 130
Posts 10
Joined 2002-12-13 00:00
23-year member
UID 494
Gender Male
Status Offline
Thanks. I've also accumulated a lot of materials and almost finished it.
Forum Jump: