ComSpec

From Wikipedia, the free encyclopedia

ComSpec (or %COMSPEC%) is one of the environment variables used in MS-DOS and Microsoft Windows, which normally points to the command line interpreter, which is by default command.com in MS-DOS or cmd.exe in Windows NT. ComSpec can be displayed by typing SET COMSPEC or ECHO %COMSPEC% at the command prompt.

The ComSpec environment variable by default points to the full path of the command line interpreter.

In MS-DOS, ComSpec is the secondary command line interpreter, which can be anywhere on your system and does not need to be named COMMAND.COM. It can also be made by a different company or be a different version.[1]

References

  1. COMMAND.COM, SHELL and COMSPEC

External links


This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.