When was the package created?

I know this is not a programming question, but I cannot find the answer.

In what year was the package created? Or is it more appropriate to talk about the year CMD was created? In which case - in which year was the CMD created?

I apologize if this question is against the rules. The reason I ask is to participate in a call on the Code Golf StackExchange website.

+5
source share
4 answers

Do you need to distinguish between command.com and cmd.exe ?

Command.com - was a command line interpreter from the earliest versions of DOS and QDOS created by Tim Paterson (circa 1981), but command.com has also gone through many changes and may be the sharpest in its 5th version.

MSDOS 1.0 supported commands - (CD COPY DEL DIR EDIT FORMAT HELP MKDIR RD REN TYPE)

More complex commands were introduced in MSDOS 5.0 ( 1991 ) - ( even microsoft stores documentation for it ) and may be a little closer to the programming language.

In 1993, Windows NT was released with the new cmd.exe (along with the old command.com) created by Therese Stowell - it has many new features, such as additional keys for FOR and IF commands, routines, etc. And this is the β€œmodern” batch scripting we know today (although it is close to ms-dos 5 command.com).

It cost me time to search the Internet, but I hope that the information is enough :)

+5
source

The earliest link to batch files was 1981, with the release of IBM PC DOS 1.0 - it used the AUTOEXEC.BAT file to run various commands at startup.

And this question falls into the gray field regarding whether this is a topic; there is no specific programming issue, but it is still related to programming, and this seems to be in accordance with the review audit that I recently failed.

+3
source

MSDos relied on CP / M features for compatibility. Functions such as Unix are added in Ver 2. CMD is launched as a command shell that will run MSDos batch files, but added features to OS / 2 (IBM, not MS CMD). CMD was taken in NT and there are two main versions of pre Win 2000 and post Win 2000. Prior to Windows 2000 Dos, batch files and programs were run in the OS / 2 subsystem, and not in the Dos emulator in the Windows subsystem.

Now the command.com command on Windows is version 5.5 and passes all the commands to cmd for execution, unless run as command.com /k ver (compare this to typing command.com , then ver ).

+1
source

I do not remember exactly when I bought my first computer, but it should be around 1984 or 1985; it was a PC clone Printaform computer that showed MS-DOS 2.11 with batch files executed by command.com. I vividly remember that the Batch functions of this time were enough to write many interesting programs. He controlled the variable using the SET command and replacing the value with %variable% , and the FOR , IF and CALL commands, including recursive routines.

Soon after, I read an article in the journal Dr. Dobb Journal, which shows how to change the command.com environment variables from a running program, so I wrote my first program of this type, LET.COM, which allowed me to perform advanced control of variables in batch files, for example, arithmetic operations, data entry, etc. .d. many years before the modern functions of the batch file cmd.exe.

You can view the history of MS-DOS development, including the functions of a batch file, on many sites on the Internet, for example this one on Wikipedia .

+1
source

All Articles