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-27 03:29
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Renaming of DOS internal commands View 1,899 Replies 10
Original Poster Posted 2004-01-27 00:00 ·  中国 广东 广州 荔湾区 电信
初级用户
Credits 116
Posts 3
Joined 2004-01-27 00:00
22-year member
UID 16195
Gender Male
Status Offline
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~~~~~~~
Floor 2 Posted 2004-01-28 00:00 ·  中国 辽宁 沈阳 联通
铂金会员
★★★★
痴迷DOS者
Credits 5,798
Posts 1,924
Joined 2003-06-20 00:00
23-year member
UID 5583
Gender Male
From 金獅電腦軟體工作室
Status Offline
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!
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
Floor 3 Posted 2004-01-28 00:00 ·  中国 山西 太原 联通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
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.
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 4 Posted 2004-01-28 00:00 ·  中国 湖北 武汉 联通
银牌会员
★★★
Credits 1,681
Posts 512
Joined 2003-08-02 00:00
22-year member
UID 7953
Gender Male
Status Offline
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.)
Somehow somewhere I've got to choose.
No matter if it is win or lose.
Floor 5 Posted 2004-02-01 00:00 ·  中国 广东 广州 荔湾区 电信
初级用户
Credits 116
Posts 3
Joined 2004-01-27 00:00
22-year member
UID 16195
Gender Male
Status Offline
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"?
Floor 6 Posted 2004-02-01 00:00 ·  中国 广东 佛山 三水区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
Basically, but you need to see clearly if it's the right place. Correcting the help information is invalid.
我的网志
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 2004-02-01 00:00 ·  中国 福建 福州 电信
初级用户
Credits 159
Posts 22
Joined 2003-10-09 00:00
22-year member
UID 10961
Gender Male
From 福建
Status Offline
What danger is there? Just modify and test it.
Floor 8 Posted 2004-02-02 00:00 ·  中国 山西 运城 联通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
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.
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 9 Posted 2004-02-03 00:00 ·  中国 广东 佛山 禅城区 电信
初级用户
Credits 159
Posts 14
Joined 2004-02-02 00:00
22-year member
UID 16524
Gender Male
Status Offline
It's like this to modify.. It's not practical to say.. FREEDOS is okay..
Floor 10 Posted 2004-02-03 00:00 ·  中国 江苏 盐城 电信
初级用户
Credits 124
Posts 5
Joined 2004-02-03 00:00
22-year member
UID 16644
Gender Male
Status Offline
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?
想问你一下:学校机房的电脑(WINDOWS98操作系统),我启动之后无法进入DOS。我是想免费上机的。用
可我连DOS都进不去,我该怎办呢?
请不吝赐教!!!!!!
我的论坛 http://210.28.182.153/cx1/bbs/index1.asp
欢迎赐教!!!!!!
Floor 11 Posted 2004-02-06 00:00 ·  中国 广东 佛山 禅城区 电信
初级用户
Credits 159
Posts 14
Joined 2004-02-02 00:00
22-year member
UID 16524
Gender Male
Status Offline
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...
Forum Jump: