![]() |
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-16 09:35 |
47,813 topics / 349,903 posts / today 0 new / 48,258 members |
| DOS疑难解答 & 问题讨论 (解答室) » Renaming of DOS internal commands |
| Printable Version 1,940 / 10 |
| Floor1 李野 | Posted 2004-01-27 00:00 |
| 初级用户 Posts 3 Credits 116 | |
|
Just found a very good DOS forum. I want to ask how to rename the internal commands of DOS. For example, change the del command to ddd. Is it using the ren command? It seems that I can't see the file names like del, ren, so I can't change them.
I heard that this can prevent virus attacks, but there will be many problems after changing it, right? Thanks for the advice~~~~~~~ |
|
| Floor2 Kinglion | Posted 2004-01-28 00:00 |
| 铂金会员 Posts 1,924 Credits 5,798 From 金獅電腦軟體工作室 | |
|
The internal commands of DOS are all included in the COMMAND.COM file. If you want to modify their names, you can only use a hexadecimal file modification tool, such as PCTOOLS. However, there is a certain risk in modification, please be careful!
|
|
| Floor3 willsort | Posted 2004-01-28 00:00 |
| 元老会员 Posts 1,512 Credits 4,432 | |
|
Re Li Ye:
In addition, there is a simple method, which is to use the macro command of DOSKEY: doskey del=error doskey ddd=del In addition, if you use it in the WIN window, the command name modification is only valid for the current window, unless you modify the default DOS shortcut. |
|
| Floor4 iceboy | Posted 2004-01-28 00:00 |
| 银牌会员 Posts 512 Credits 1,681 | |
|
Just use WinHex. Open command.com. Search for del. Change it to ddd. Done. (It's best to have the same length, otherwise there will be a lot of troubles.)
|
|
| Floor5 李野 | Posted 2004-02-01 00:00 |
| 初级用户 Posts 3 Credits 116 | |
|
Thanks to the moderator for your attention, but I don't know how to use winhex. Is it just to search, find the text, enter "ren" in it, and then change "ren"?
|
|
| Floor6 MYS | Posted 2004-02-01 00:00 |
| 元老会员 Posts 1,637 Credits 5,170 From 广东佛山 | |
|
Basically, but you need to see clearly if it's the right place. Correcting the help information is invalid.
|
|
| Floor7 oneyes | Posted 2004-02-01 00:00 |
| 初级用户 Posts 22 Credits 159 From 福建 | |
|
What danger is there? Just modify and test it.
|
|
| Floor8 willsort | Posted 2004-02-02 00:00 |
| 元老会员 Posts 1,512 Credits 4,432 | |
|
Re Li Ye:
I remember that only one place needs to be modified. The word strings in the help text can be ignored. So just find a few locations in the internal command set, and then modify the corresponding command names. If the word lengths are different, it will cause the command entry immediately following to be lost, which generally causes the system to fail to start. |
|
| Floor9 Az | Posted 2004-02-03 00:00 |
| 初级用户 Posts 14 Credits 159 | |
|
It's like this to modify.. It's not practical to say.. FREEDOS is okay..
|
|
| Floor10 伤心客 | Posted 2004-02-03 00:00 |
| 初级用户 Posts 5 Credits 124 | |
|
Many of the computers in the school computer lab can't enter DOS by pressing F8 during startup, but directly enter Windows 98. What's the matter with this? Does this have something to do with the Autoexec Command on the C drive?
|
|
| Floor11 Az | Posted 2004-02-06 00:00 |
| 初级用户 Posts 14 Credits 159 | |
|
Well, this is a problem with the boot configuration file. It seems to be the settings of IO.SYS or MSDOS.SYS... Because when switching between DOS in Windows 98, these two files are renamed and applied...
For related information, please find relevant materials on the Internet... "WIN98 security"... Generally use Google.. Haven't used it for too long... The above are the possible reasons for your situation when booting.. Also, for entering DOS again after booting into Windows 98, if this part doesn't work.. In addition to other non-applicable means.. The main thing is to modify the registry, turn off the button for switching... |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |