![]() |
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-09-23 12:21 |
47,812 topics / 349,917 posts / today 0 new / 48,273 members |
| DOS批处理 & 脚本技术(批处理室) » I want to execute the Chinese localization system before the batch file is executed |
| Printable Version 8,156 / 15 |
| Floor1 娃哈哈 | Posted 2002-12-13 00:00 |
| 初级用户 Posts 10 Credits 130 | |
|
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 OSGOTO 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 |
|
| Floor2 MYS | Posted 2002-12-13 00:00 |
| 元老会员 Posts 1,637 Credits 5,170 From 广东佛山 | |
|
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
|
|
| Floor3 娃哈哈 | Posted 2002-12-13 00:00 |
| 初级用户 Posts 10 Credits 130 | |
|
Can BAT file be used to create a menu? And how to make a submenu if there is one?
|
|
| Floor4 MYS | Posted 2002-12-13 00:00 |
| 元老会员 Posts 1,637 Credits 5,170 From 广东佛山 | |
|
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.
|
|
| Floor5 娃哈哈 | Posted 2002-12-13 00:00 |
| 初级用户 Posts 10 Credits 130 | |
The following is a quote from MYS on 2002-12-13 19:13:38: 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? |
|
| Floor6 MYS | Posted 2002-12-13 00:00 |
| 元老会员 Posts 1,637 Credits 5,170 From 广东佛山 | |
|
Hehe, there is a bit of the daring of a green hand who doesn't fear tigers.
|
|
| Floor7 娃哈哈 | Posted 2002-12-13 00:00 |
| 初级用户 Posts 10 Credits 130 | |
|
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? |
|
| Floor8 娃哈哈 | Posted 2002-12-13 00:00 |
| 初级用户 Posts 10 Credits 130 | |
|
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?
|
|
| Floor9 MYS | Posted 2002-12-14 00:00 |
| 元老会员 Posts 1,637 Credits 5,170 From 广东佛山 | |
|
How do you use it? Actually, most new Chinese character systems can be used in DOS 7.X and FAT32.
|
|
| Floor10 娃哈哈 | Posted 2002-12-14 00:00 |
| 初级用户 Posts 10 Credits 130 | |
|
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!
|
|
| Floor11 okghost | Posted 2002-12-21 00:00 |
| 初级用户 Posts 14 Credits 140 | |
|
How did you do it?
|
|
| Floor12 Wengier | Posted 2002-12-21 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
I seem to have never seen any Chinese character system that cannot run in MS-DOS 7.x. Not "most", but "all".
|
|
| Floor13 LK | Posted 2002-12-30 00:00 |
| 高级用户 Posts 309 Credits 915 | |
![]() |
|
| Floor14 nre | Posted 2002-12-30 00:00 |
| 银牌会员 Posts 361 Credits 1,210 | |
|
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.
|
|
| Floor15 娃哈哈 | Posted 2003-01-03 00:00 |
| 初级用户 Posts 10 Credits 130 | |
|
Thanks. I've also accumulated a lot of materials and almost finished it.
|
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |