加入收藏 | 设为首页 | 会员中心 | 我要投稿 东莞站长网 (https://www.0769zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 系统 > 正文

windows – cmd.exe是一个shell,一个终端模拟器还是两者兼而有之

发布时间:2021-03-06 20:30:26 所属栏目:系统 来源:网络整理
导读:在 Linux中我有shell(例如bash,csh等)和终端模拟器(例如xterm). Shell执行命令和终端模拟器显示带有白色字母的黑色窗口. 它在Windows中如何?我知道我有cmd.exe,但它是什么?它是一个shell,还是终端模拟器,还是两者兼而有之? 如何称为执行bat文件的解释器?

在 Linux中我有shell(例如bash,csh等)和终端模拟器(例如xterm). Shell执行命令和终端模拟器显示带有白色字母的黑色窗口.

它在Windows中如何?我知道我有cmd.exe,但它是什么?它是一个shell,还是终端模拟器,还是两者兼而有之?

如何称为执行bat文件的解释器?它们是由cmd.exe还是其他东西执行的?

解决方法

CMD.exe是一个Win32控制台程序,从窗口角度来看没有什么特别之处.在任务管理器中查看开始 – 运行(Winkey R)(Ctrl Shift Escape).

cmd.exe

然后关闭

ftp.exe ftp.microsoft.com

所有控制台程序都有一个控制台,并且与GUI程序的工作方式不同(什么是GUI程序 – 没有控制台的程序).通常,但并非总是如此,我们启动cmd然后请求cmd启动另一个控制台程序.但是从上面的ftp程序示例中可以看到,不需要CMD.

来自帮助

Character-Mode Applications

Consoles manage input and output (I/O) for character-mode applications (applications that do not provide their own graphical user interface).

The console functions enable different levels of access to a console. The high-level console I/O functions enable an application to read from standard input to retrieve keyboard input stored in a console’s input buffer. The functions also enable an application to write to standard output or standard error to display text in the console’s screen buffer. The high-level functions also support redirection of standard handles and control of console modes for different I/O functionality. The low-level console I/O functions enable applications to receive detailed input about keyboard and mouse events,as well as events involving user interactions with the console window. The low-level functions also enable greater control of output to the screen.

This overview describes support for character-mode applications.

Send comments about this topic to Microsoft

Build date: 10/2/2006

CMD也是Telnet接口.

(编辑:东莞站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读