![]() |
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-10-26 18:44 |
47,815 topics / 349,928 posts / today 0 new / 48,288 members |
| DOS启动盘 & LOGO技术 (启动盘室) » [Discussion] Question about COMSPEC=C\DOS\COMMAND.COM, discussion |
| Printable Version 1,319 / 3 |
| Floor1 zwdeee | Posted 2007-07-08 16:32 |
| 初级用户 Posts 54 Credits 153 | |
|
My computer is running DOS 6.22. I was messing around and deleted the COMMAND.COM file on drive C. As a result, after working normally for about half a minute, an English prompt popped up, and then it just hung. It seemed like it couldn't find the COMMAND.COM file.
I rebooted the computer with the keyboard, and unexpectedly it could still be used normally, except that when I checked with the SET command it had become COMSPEC=C\DOS\COMMAND.COM. I did CD DOS, and sure enough there was a COMMAND.COM file in the DOS directory. I used UNDELETE to restore the deleted COMMAND.COM file in the root of C and rebooted, but it was still COMSPEC=C\DOS\COMMAND.COM. So I checked CONFIG.SYS and AUTOEXEC.BAT separately, but couldn't find SHELL or COMSPEC. I'm really puzzled. Since SHELL and COMSPEC weren't used, how did the computer end up with COMSPEC=C\DOS\COMMAND.COM? Could it be that MSDOS.SYS or IO.SYS was modified? |
|
| Floor2 zwdeee | Posted 2007-08-16 09:17 |
| 初级用户 Posts 54 Credits 153 | |
|
Why has nobody replied?
|
|
| Floor3 zwdeee | Posted 2007-08-19 09:07 |
| 初级用户 Posts 54 Credits 153 | |
|
Why is nobody even taking a look?
|
|
| Floor4 darkradx | Posted 2007-08-19 10:14 |
| 高级用户 Posts 420 Credits 972 | |
|
Default.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |