COMMAND.COM =========== on Windows 95 (MS-DOS Prompt) is the default command-line interpreter for MS-DOS, Windows 95, Windows 98 and Windows Me. In the case of DOS, it is the default user interface as well. It has an additional role as the usual first program run after boot (init process). As a shell, has two distinct modes of operation: interactive mode and batch mode. Internal commands are commands stored directly inside the binary; thus, they are always available, but can only be executed directly from the command interpreter. on Windows 95 (MS-DOS Prompt) is the default command-line interpreter for MS-DOS, Windows 95, Windows 98 and Windows Me. In the case of DOS, it is the default user interface as well. It has an additional role as the usual first program run after boot (init process). As a shell, has two distinct modes of operation: interactive mode and batch mode. Internal commands are commands stored directly inside the binary; thus, they are always available, but can only be executed directly from the command interpreter. == Internal commands == Internal commands are commands stored directly inside the binary. Thus, they are always available but can only be executed directly from the command interpreter. All commands are executed after the key is pressed at the end of the line. is not case-sensitive, meaning commands can be typed in any mixture of upper and lower case. : Controls the handling of program interruption with or . : Displays or changes the current system code page. , : Changes the current working directory or displays the current directory. : Clears the screen. : Copies one file to another (if the destination file already exists, MS-DOS asks whether to replace it). (See also XCOPY, an external command that could also copy directory trees). : Defines the device to use for input and output. : Display and set the date of the system. , : Deletes a file. When used on a directory, deletes all files inside the directory only. In comparison, the external command deletes all subdirectories and files inside a directory as well as the directory itself. : Lists the files in the specified directory. : Toggles whether the commands executed by a batch file are displayed on screen ( ) or not ( ). Also displays text on the screen ( ). : Exits from and returns to the program which launched it. : Enables or disables the return of long filenames by the command. (Windows 9x). , : Loads a program into upper memory ( in DR DOS). : Enables external programs to perform low-level disk access to a volume. (MS-DOS 7.1 and Windows 9x only) , : Creates a new directory. : Displays or changes the value of the environment variable which controls the places where will search for executable files. : Displays or change the value of the environment variable which controls the appearance of the prompt. , : Renames a file or directory. , : Removes an empty directory. : Sets the value of an environment variable; without arguments, shows all defined environment variables. : Display and set the time of the system. : Display the fully expanded physical name of a file, resolving , and SUBST logical filesystem mappings. : Display the content of a file on the console. : Disables low-level disk access. (MS-DOS 7.1 and Windows 9x only) : Displays the version of the operating system. : Enable or disable verification of writing for files. : Shows information about a volume. Commands separated by ASCII-20 (¶, invoked by ) are executed in sequence (chaining of commands). In other words, first command1 is executed until termination, then command2. This is an undocumented feature in of MS-DOS/PC DOS 5.0 and higher. It is also supported by of the Windows NT family as well as by DR-DOS 7.07. All versions of DR-DOS already supported a similar internal function utilizing an exclamation mark (!) instead (a feature originally derived from Concurrent DOS and Multiuser DOS) - in the single-user line this feature was only available internally (in built-in startup scripts like "!DATE!TIME") and indirectly through DOSKEY's $T parameter to avoid problems with ! as a valid filename character. 4DOS supports a configurable command line separator (4DOS.INI CommandSep= or SETDOS /C), which defaults to ^. in newer versions of Windows NT also supports an separator for compatibility with the cmd syntax in OS/2 and the Windows NT family. (cmd does not support the ¶ separator.) REFERENCES ---------- BIBLIOGRAPHY (BibTeX) -------------------- @article{ref0, title = {COMMAND.COM}, url = {https://encyclopegia.org/a/command-com} } BIBLIOGRAPHY (RIS) ------------------- TY - JOUR TI - COMMAND.COM UR - https://encyclopegia.org/a/command-com ER - CITE THIS ARTICLE ---------------- Cite this article: COMMAND.COM Derived from: https://en.wikipedia.org/w/index.php?oldid=1374194927 Licence: CC BY-SA 4.0 Snapshot: enwiki-001374194927 Permalink: /a/command-com