![]() |
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 13:51 |
47,812 topics / 349,910 posts / today 0 new / 48,264 members |
| DOS汉化世界 & 中文系统 (中文化室) » Chinese prompts for FORMAT |
| Printable Version 4,457 / 35 |
| Floor1 zl7322 | Posted 2003-07-06 00:00 |
| 高级用户 Posts 269 Credits 871 | |
|
Moderator:
Under DOS 8.0, the higher-version FORMAT.COM gives no information prompts and just runs directly. I want to add Chinese prompts—how can I do it without errors? Thanks!!! |
|
| Floor2 沈洁 | Posted 2003-07-06 00:00 |
| 金牌会员 Posts 1,812 Credits 4,590 From 上海市 | |
|
Why not just use the moderator's DOS7.10!
As for if you insist on localizing it, that's very simple too! Write a batch file! @echo off format %1 %2 %3 %4 %5 %6 %7 %8 %9 if "%1"=="?" @ echo (whatever you want to write) That'll do! |
|
| Floor3 如是大师 | Posted 2003-07-06 00:00 |
| 元老会员 Posts 3,351 Credits 9,654 From 湖北 | |
|
Hehe... if you say it like that, anyone who can understand it wouldn't even ask you.
|
|
| Floor4 沈洁 | Posted 2003-07-06 00:00 |
| 金牌会员 Posts 1,812 Credits 4,590 From 上海市 | |
|
So did you understand it or not!
|
|
| Floor5 yiyesong | Posted 2003-07-06 00:00 |
| 元老会员 Posts 632 Credits 1,987 | |
|
Just take a look at the batch files on my boot disk.
|
|
| Floor6 Wengier | Posted 2003-07-06 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
Using DOS 8.0 to make a boot disk really isn't good. We have related discussions in the "DOS Boot Disk" section, and there was already a conclusion long ago.
|
|
| Floor7 沈洁 | Posted 2003-07-06 00:00 |
| 金牌会员 Posts 1,812 Credits 4,590 From 上海市 | |
|
The super moderator is right!
|
|
| Floor8 zl7322 | Posted 2003-07-07 00:00 |
| 高级用户 Posts 269 Credits 871 | |
|
"If you want to localize it, that's very simple too!
Write a batch file! @echo off format %1 %2 %3 %4 %5 %6 %7 %8 %9 if "%1"=="?" @ echo (whatever you want to write) That'll do!" For example: FORMAT A: if "%1"==A: echo. Do you really want to format the disk? echo. All data on the disk will be lost! echo. Continue? echo. Press "Y" to format the disk echo. Press "N" to exit the format command choice.com Would this work? |
|
| Floor9 沈洁 | Posted 2003-07-08 00:00 |
| 金牌会员 Posts 1,812 Credits 4,590 From 上海市 | |
|
It should work, right!
|
|
| Floor10 zl7322 | Posted 2003-07-08 00:00 |
| 高级用户 Posts 269 Credits 871 | |
|
Still no good
Can you write a batch file? |
|
| Floor11 沈洁 | Posted 2003-07-08 00:00 |
| 金牌会员 Posts 1,812 Credits 4,590 From 上海市 | |
|
Why not just use Tianhui's Chinese localization patch for Chinese text!
It's only a bit over 100kB! Doesn't that localize most commands! If it were me, I'd just localize it directly with edit2! If you really want it, I'll give it to you next week! Also, you really are foolish if you write format %1 %2 %3 %4 %5 %6 %7 %8 %9 You need to rename the original format to something else, like fo Then the above part should be written as fo %1 %2 %3 %4 %5 %6 %7 %8 %9 Otherwise when you type format, of course it will still execute the original format.com file! Not the format.bat file! |
|
| Floor12 沈洁 | Posted 2003-07-08 00:00 |
| 金牌会员 Posts 1,812 Credits 4,590 From 上海市 | |
|
Also, the " " around A cannot be omitted!
|
|
| Floor13 zl7322 | Posted 2003-07-08 00:00 |
| 高级用户 Posts 269 Credits 871 | |
|
Look:
@echo off MAT %1 %2 %3 %4 %5 %6 %7 %8 %9 IF "%1"=="A" "B" "C" "D" "E" "F" "G" "H" "I" ... @echo. Do you really want to format the disk? @echo. All data on the disk will be lost! @echo. Continue? @echo. Press “Y” to format the disk @echo. Press “N” to exit the format command choice @if errorlevel 1 if not errorlevel 2 goto gsh @if errorlevel 2 if not errorlevel 3 goto end gsh MAT %1 %2 %3 %4 %5 %6 %7 %8 %9 end quit Will this do? |
|
| Floor14 沈洁 | Posted 2003-07-08 00:00 |
| 金牌会员 Posts 1,812 Credits 4,590 From 上海市 | |
|
First try it in the Windows XP command prompt interface!
If it doesn't work, then come ask me again! |
|
| Floor15 zl7322 | Posted 2003-07-08 00:00 |
| 高级用户 Posts 269 Credits 871 | |
|
I tried it under DOS
FORMAT A: But it didn't show Do you really want to format the disk? All data on the disk will be lost! Continue? Press “Y” to format the disk Press “N” to exit the format command Instead it showed English Press ENTER to read disk... When I exited it showed the BAT contents |
|
| 1 2 3 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |