3 ms·
cmd.exe is a terminal emulator and PowerShell is a fully-formed scripting language (that Windows desperately needed). This analogy doesn't work the way you thin
by aetimmes 3y ago
cmd.exe is a terminal emulator and PowerShell is a fully-formed scripting language (that Windows desperately needed). This analogy doesn't work the way you think it does.
- dragonwriter 3y ago> cmd.exe is a terminal emulator Isn't Windows Console the (old) terminal emulator, with cmd.exe being just the command-line interpreter.
- jkrejcha 3y agoYeah, conhost.exe is the old terminal emulator effectively (cmd.exe being a shell). Before that, csrss.exe handled terminal emulation (which is why console windows weren't themable[1]). [1]: https://devblogs.microsoft.com/oldnewthing/20071231-00/?p=23983 https://devblogs.microsoft.com/oldnewthing/20071231-00/?p=23...
- pi-e-sigma 3y agocmd.exe can be used with shitload command line utilities and is a full blown scripting language just less powerful than Unix bash. The analogy works just fine.
- waych 3y agoThis is mixing up cmd.exe which is the dos-like (but not dos) scripting interpreter, and conhost.exe which is the actual old terminal emulator/console that the kernel would spin up whenever you ran cmd.exe.