|
363523943
初级用户
 
积分 26
发帖 30
注册 2008-12-20
状态 离线
|
『楼 主』:
【发现】command.com没有cmd.exe不能用??
使用 LLM 解释/回答一下
把cmd.exe删除或者设置权限之后发现command.exe 作废’了,敲入命令都没有反应。xp、2k、2k3系统都是这样~!
难道command依赖cmd ?
After deleting cmd.exe or setting permissions, it was found that command.exe became "invalid" and there was no response when typing commands. This is the case for XP, 2K, and 2K3 systems~! Could it be that command depends on cmd?
|
|
2009-4-5 10:19 |
|
|
czl1378
初级用户
 
积分 161
发帖 114
注册 2009-2-20
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
听你这么说就是的吧。没试过
Hearing you say that, it seems so. I haven't tried it
|
|
2009-4-5 11:49 |
|
|
knoppix7
银牌会员
    
积分 1287
发帖 634
注册 2007-5-2 来自 cmd.exe
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
可以理解为Cmd.exe提供了一个最基本的环境.
It can be understood that Cmd.exe provides a most basic environment.
|
|
2009-4-6 00:32 |
|
|
qzwqzw
银牌会员
     天的白色影子
积分 2343
发帖 636
注册 2004-3-6
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
应该不是这样吧
command是ntvdm一个子环境入口而已
跟cmd没有必然的联系
如果ntvdm.exe没有了
command才会提示找不到command
Shouldn't be like this.
The command is just an entry to a sub-environment of ntvdm.
There's no necessary connection with cmd.
If ntvdm.exe is gone, the command will prompt that command is not found.
|
|
2009-4-10 03:51 |
|
|
363523943
初级用户
 
积分 26
发帖 30
注册 2008-12-20
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
Originally posted by qzwqzw at 2009-4-10 03:51:
应该不是这样吧
command是ntvdm一个子环境入口而已
跟cmd没有必然的联系
如果ntvdm.exe没有了
command才会提示找不到command
真的是这样噢!不信你可以在你自己的电脑看看!
Originally posted by qzwqzw at 2009-4-10 03:51:
It shouldn't be like this
command is just an entry point of a sub-environment of ntvdm
There is no necessary connection with cmd
If ntvdm.exe is gone
command will prompt that command is not found
Really is like this! If you don't believe it, you can check it on your own computer!
|
|
2009-4-12 18:07 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
是这样的,nt环境面的dos模拟器和os/2模拟器都需要cmd.exe这个命令行解释器的
That's right. The DOS emulators and OS/2 emulators in the NT environment both need the cmd.exe command-line interpreter.
|
|
2009-4-13 07:34 |
|
|
qzwqzw
银牌会员
     天的白色影子
积分 2343
发帖 636
注册 2004-3-6
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
嗯,发现了一些奇怪的地方
原本只测试到可以打开command.com就认为可以正常工作了
结果发现很多命令没有执行和输出
目前测试可以接受并执行的指令有:
盘符跳转 c: d: e: 等等
路径跳转 cd
提示符显示与修改 prompt
(而且使用 prompt $t可以得到系统时间)
环境跳出 exit
环境变量操作 set
Well, some strange places were found
Originally, I only tested that being able to open command.com was considered to work normally
It was found that many commands did not execute and output
Currently, the acceptable and executable commands tested are:
Drive letter jump c: d: e: and so on
Path jump cd
Prompt display and modification prompt
(And using prompt $t can get the system time)
Environment exit exit
Environment variable operation set
|
|
2009-4-19 12:17 |
|
|
qzwqzw
银牌会员
     天的白色影子
积分 2343
发帖 636
注册 2004-3-6
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
通过procmon跟踪发现可以确认
ntvdm.exe 确实调用了cmd.exe实现了一些命令行功能
包括dir cls等
而且是利用非常传统的接口进行调用
C:\WINDOWS\system32\cmd.exe /c DIR
而对于cd prompt等则没有这样的调用
Through the tracking of procmon, it can be confirmed that ntvdm.exe does call cmd.exe to implement some command-line functions, including dir, cls, etc., and it is called using a very traditional interface. C:\WINDOWS\system32\cmd.exe /c DIR. But there are no such calls for commands like cd, prompt, etc.
|
|
2009-4-19 15:30 |
|
|
sfcctv
中级用户
  
积分 208
发帖 135
注册 2009-9-12 来自 离恨天
状态 离线
|
|
2009-10-11 19:00 |
|