Some commands don??™t exist in separate files; they reside in the host program that you use to
interact with the computer. The host program for the command prompt is
CMD.EXE
. If you want to
try it out, type
CMD
and press Enter. You??™ll see a command prompt.
CMD.EXE
doesn??™t end after it
opens the command prompt; it remains in the background to receive and react to your keystrokes.
The
CMD.EXE
file also has a number of internal commands. These special keystrokes tell
CMD.EXE
to perform a task for you. For example, the
Dir
command is an internal
CMD.EXE
command. You
won??™t find
Dir
listed as an executable anywhere on your hard drive. This book lists all internal commands
as commands. Consequently, you??™ll see the TaskList utility and the
Dir
command
discussed later in the book. If you want to see the full list of commands that
CMD.EXE
supports,
type
Help
and press Enter. You??™ll see the list shown in Figure 2.7 (the list in the screenshot isn??™t
complete??”it continues past the bottom of the command window).
Compare the list of commands provided by the Server Core version of
CMD.EXE
and those provided
by other versions of Windows and you??™ll find some differences.
Pages:
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142