If I type dir in the command line, I guess it executes a dir.exe hidden somewhere in the system. Is there such a file? Where is it?
| ||||
|
feedback
|
|
There are, however, external commands. These commonly reside in However, external commands are not limited to these locations. External commands can be called from the directory that you're working from. (in a newly started DOS shell on Windows 7, this would usually be If you're going to be needing some utility from a directory, but will have to be traversing to other directories, you can add the folder of the utility to the I hope that's new and useful knowledge! | |||
|
feedback
|
|
dir is an internal MS-DOS command. Like the other internal commands, it is built into the file named command.com. Wikipedia has a page for the list of DOS commands, and it says:
To make my answer complete, the following is a list of MS-DOS internal and external commands. The internal commands reside in COMMAND.COM, which loads into memory when the computer system is started; these commands do not reside on disk. The external commands are files that do reside on disk and have an extension of .COM, .EXE, or .BAT. Both command types are executed from the MS-DOS prompt. Internal Commands:
External Commands:
Reference: Microsoft Support Nota bene: The external commands reside in | |||||||||||||
feedback
|
|
Most standard "DOS" commands are built into the command shell in Windows. There isn't a | |||
|
feedback
|
|
For additional reference, here is a nice website that fairly good list of commands available for cmd.exe: | |||
|
feedback
|
cmd.exe, though it’s not really being executed; it already was.;-)– Synetech Jun 12 '11 at 3:57