When you open a command window,
what you??™re really doing is starting the command interpreter. The command interpreter accepts
your commands and does something with them. The command interpreter for Windows is
CMD.EXE
. This application is responsible for creating the command window, accepting your configuration
commands, and providing access to the built-in commands such as the
Dir
command.
100 CHAPTER 5
CREATING CMD AND BAT FILES
You can configure the command interpreter using five techniques in Windows. The first is to
add command line switches to the
CMD.EXE
. This approach configures the command interpreter as
a whole and you don??™t have much control over this particular change once the command interpreter
is running. Of course, you can have a shortcut for each occasion that relies on different command
line switch setups for each task.
The second configuration method is to change the content of
Config.NT
. The
Config.NT
file
appears in the
\Windows\System32
directory and the command interpreter calls on it to configure
the command window environment. The
Config.NT
file changes the device drivers, number of
files, the loading of the Virtual DOS Machine into upper memory, and other configuration issues.
Pages:
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283