中国DOS联盟论坛

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-18 12:04
47,814 topics / 349,908 posts / today 1 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » Internal command to external command
Printable Version  2,809 / 18
Floor1 chpavc Posted 2006-11-08 09:56
初级用户 Posts 19 Credits 47
How can I convert DOS internal commands into external commands? For example, turn REN into a separate file form?
Floor2 electronixtar Posted 2006-11-08 09:59
铂金会员 Posts 2,672 Credits 7,493
It is estimated that some experts can complete it through disassembling. Or use doskey to "escape" the original internal command, heh heh
Floor3 fastslz Posted 2006-11-08 10:00
铂金会员 Posts 2,315 Credits 5,493 From 上海
Why is this necessary???
Floor4 fastslz Posted 2006-11-08 10:02
铂金会员 Posts 2,315 Credits 5,493 From 上海
Well~ For example, the expert electronixtar: P
Floor5 chpavc Posted 2006-11-08 10:09
初级用户 Posts 19 Credits 47
When debugging games, sometimes you need to rename files. But Internet cafes prohibit changing file extensions, so I thought of REN. Who knew he had tampered with it, and all DOS commands didn't exist at all?
Floor6 fastslz Posted 2006-11-08 10:13
铂金会员 Posts 2,315 Credits 5,493 From 上海
Floor7 chpavc Posted 2006-11-08 10:19
初级用户 Posts 19 Credits 47
Floor8 chpavc Posted 2006-11-08 10:20
初级用户 Posts 19 Credits 47
Dizzy
Nowadays, the "Internet cafe - specific system" is not using DOSKEY to disable DOS
It seems that all DOS commands have been deleted
Floor9 Michael Posted 2006-11-08 10:26
钻石会员 Posts 3,041 Credits 10,056
It seems that the Chinese text "ren好办啊" is not a standard translatable content in the traditional sense here. The code part is in English already. So the overall output would be:

ren好办啊
Floor10 chpavc Posted 2006-11-08 10:29
初级用户 Posts 19 Credits 47
Brother upstairs, may I ask how to use your code? I'm a newbie
Floor11 Michael Posted 2006-11-08 10:45
钻石会员 Posts 3,041 Credits 10,056
Find a C language compiler for the Win32 platform to compile into an exe file, and it can be executed. Unfortunately, I don't have one at hand.
Floor12 fastslz Posted 2006-11-08 10:53
铂金会员 Posts 2,315 Credits 5,493 From 上海
A great person has appeared
Floor13 redtek Posted 2006-11-09 00:59
金牌会员 Posts 1,147 Credits 2,902
Modify COMMAND.COM (for MS-DOS versions 6.22 and earlier) using PCTOOLS.
Find "DIR" and change it to "DDD" (here, "finding DIR" means finding the character "DIR" within the COMMAND.COM file).
As for where this character is located, you need to find it slowly using PCTOOLS (PCT).

Then, after modification, replace your current COMMAND.COM file.
(Rebooting, booting with a boot disk and then overwriting the command.com on the C system or directly overwriting the command.com on the boot disk is safe.)
Then typing "DIR" will be invalid, and typing "DDD" will have the original function of "DIR".
(I've done this before and it was successful. : ) The owner can just go ahead and modify it. : )

If the owner is proficient in Debug and assembly, then use Debug to modify it. : )

[ Last edited by redtek on 2006-11-9 at 01:35 AM ]
Floor14 fastslz Posted 2006-11-09 01:18
铂金会员 Posts 2,315 Credits 5,493 From 上海
As Brother redtek said, you can also modify it with UltraEdit~
Floor15 redtek Posted 2006-11-09 01:35
金牌会员 Posts 1,147 Credits 2,902
Good idea~:)
Suggest letting the楼主 of chpavc modify for fun~:)
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023