Course Hero Logo

Cmdexe and commandcom are part of the windows nt

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 27 - 29 out of 182 pages.

cmd.exe and COMMAND.COM are part of the Windows NT stream of operating systems.Yet another cmd.exe is a stripped-down shell for Windows CE 3.0.An MS-DOS type interpreter called PocketDOS has been ported to Windows CE machines;the most recent release is almost identical to MS-DOS 6.22 and can also run Windows 1, 2,and 3.0, QBasic and other development tools, 4NT and 4DOS. The latest release includesseveral shells, namely MS-DOS 6.22, PC DOS 7, DR DOS 3.xx, and othersPocketConsole is a Windows NT 4.0 shell for Windows CE that is much like 4NT.Windows users have a CLI environment named Windows Command Prompt, which mightuse the CScript interface to alternate programs. PowerShell provides a command-lineinterface, but its applets are not written in Shell script. Implementations of the Unix shell
28 |P a g eare also available as part of the POSIX sub-system, Cygwin, MKS Toolkit, UWIN, HamiltonC shell and other software packages. Available shells for these interoperability toolsinclude csh, ksh, sh, bash, rsh, tclsh and less commonly zsh, ysh, pshCOMMAND.COM (4DOS), Windows NT cmd.exe (4NT, TCC), and OS/2 cmd.exe (4OS2)and others based on them are enhanced shells which can be a replacement for the nativeshell or a means of enhancement of the default shellImplementations of PHP have a shell for interactive use called php-cli.Standard Tcl/Tk has two interactive shells, Tclsh and Wish, the latter being the GUI version.Python, Ruby, Lua, XLNT, and other interpreters also have command shells for interactiveuse.FreeBSD uses tcsh as its default interactive shell for the superuser.Apple macOSand many Linux distributions have the Bash implementation of the Unixshell. Early versions of macOS used tcsh as the default shell.Embedded Linux (and other embedded Unix-like) devices often use the Ashimplementation of the Unix shell, as part of Busybox.Android uses the mksh shell, which replaces a shell derived from ash that was used inolder Android versions, supplemented with commands from the separatetoolboxbinary.Routers with Cisco IOS, Junos and many others are commonly configured from thecommand line.ScriptingMost command-line interpreters support scripting, to various extents. (They are, after all,interpreters of an interpreted programming language, albeit in many cases the language is uniqueto the particular command-line interpreter.) They will interpret scripts (variously termed shellscripts or batch files) written in the language that they interpret. Some command-line interpretersalso incorporate the interpreter engines of other languages, such as REXX, in addition to theirown, allowing the executing of scripts, in those languages, directly within the command-lineinterpreter itself.Conversely, scripting programming languages, in particular those with an eval function (such asREXX, Perl, Python, Ruby or Jython), can be used to implement command-line interpreters andfilters. For a few operating systems, most notably DOS, such a command interpreter provides amore flexible command-line interface than the one supplied. In other cases, such a commandinterpreter can present a highly customised user interface employing the user interface andinput/output facilities of the language.

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 182 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
One
Professor
N/A
Tags
Command line interface

Newly uploaded documents

Show More

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture