Global Information Lookup Global Information

COMSPEC information


COMSPEC or ComSpec is one of the environment variables used in DOS, OS/2 and Windows, which normally points to the command line interpreter, which is by default COMMAND.COM in DOS,[1] Windows 95, 98, and ME or CMD.EXE in OS/2 and Windows NT. The variable name is written in all-uppercase under DOS and OS/2. Under Windows, which also supports lowercase environment variable names, the variable name is defined as ComSpec in the environment block, but as COMSPEC inside the DOS emulator NTVDM. When not present in the environment block, the command processor CMD.EXE of Windows NT sets COMSPEC to its own full path; it evaluates COMSPEC for example to execute builtin commands in pipelines, and to execute command lines with its builtin FOR command.[2]

The variable's contents can be displayed by typing SET COMSPEC or ECHO %COMSPEC% at the command prompt.

The environment variable by default points to the full path of the command line interpreter. It can also be made by a different company or be a different version.

Another use of this environment variable is on a computer with no hard disk, which needs to boot from a floppy disk, is to configure a ram disk. The COMMAND.COM file is copied to the ram disk during boot and the COMSPEC environment variable is set to the new location on the ram disk. This way the boot disk can be removed without the need to reinsert it after a big application has been stopped. The command line interpreter will be reloaded from the ram disk instead of the boot disk.

  1. ^ PC-DOS 7.0 User Guide (1st ed.). IBM. January 1995. pp. 55, 283, 290.
  2. ^ "Idiosyncrasies – Odd, Surprising, Un(der)documented or Weird (Mis)behaviour of Microsoft® Windows® NT".

and 6 Related for: COMSPEC information

Request time (Page generated in 0.5275 seconds.)

COMSPEC

Last Update:

COMSPEC or ComSpec is one of the environment variables used in DOS, OS/2 and Windows, which normally points to the command line interpreter, which is by...

Word Count : 310

Environment variable

Last Update:

Windows error reporting, caching and profiles of web browsers. %ComSpec%/%COMSPEC% The %ComSpec% variable contains the full path to the command processor;...

Word Count : 10249

List of Microsoft Windows components

Last Update:

Message Block Windows Rights Management Services Batch file CHKDSK Cmd.exe ComSpec Ipconfig Net / Net Send Netdom.exe: Windows Domain Manager Netsh Netstat...

Word Count : 1086

Acorn Archimedes

Last Update:

Canada, with distribution and servicing in Canada being undertaken by Comspec in association with Olivetti Canada. In Italy, the Archimedes was promoted...

Word Count : 30055

SpartaDOS X

Last Update:

... FI, GOTO, GOSUB, procedures, and loops. The environment variable $COMSPEC may point to an alternative command-line interpreter, to be loaded instead...

Word Count : 2027

Yaroslav Oliinyk

Last Update:

sumy.ua, 14 April 2021 «Полісся» та «Полісся-2» – дострокові переможці СOMSPEC-Чемпіонату і Першості Житомирщини з футболу, zhoff.org.ua, 25 September...

Word Count : 145

PDF Search Engine © AllGlobal.net