Issue
In Linux I have shells (for instance bash, csh etc.) and terminal emulators (for instance xterm). Shells execude commands and terminal emulators display black window with white letters.
And how is it in Windows? I know I have cmd.exe there, but what is it? Is it a shell, or is a terminal emulator, or is it both?
And how is called the interpreter that executes bat files? Are they executed by cmd.exe or by something else?
Solution
CMD.exe is a Win32 console program and there is nothing special about it from a window perspective. Type in Start - Run (Winkey + R) while looking in Task Manager (Ctrl + Shift + Escape).
cmd.exe
close then
ftp.exe ftp.microsoft.com
All console programs have a console and work differently to GUI programs (what's a GUI program - one that doesn't have a console). Usually, but not always, we start cmd then ask cmd to start another console program. But CMD is not required as you can see from ftp program example above.
From Help
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 is also the Telnet interface.
Answered By - bill Answer Checked By - Mildred Charles (WPSolving Admin)