The configuration information
you provide for DOS applications using this file directly affect their execution. In fact, the
PIF provides a means of specifying alternative
Config.NT
and
AutoExec.NT
files. Consequently,
when your command line application requires a special environment in which to run, you can
create it.
The fifth configuration method is manual command line changes. The ???Managing Environment
Variables with the
Set
Command??? section of the chapter discusses some of the changes you can
make. However, you can make other changes using common command line utilities that you??™ll find
in the sections that follow.
Using the CMD Switches
The command interpreter,
CMD.EXE
, is the most important part of the command line because it
affects everything you do at the command line. A small change in the command interpreter can
make a significant change in the way your applications run. The default command prompt setup
assumes that you don??™t want to use any of the command line switches and that you want to start
in your home directory.
If you used the Disk Operating System (DOS) at some point, it??™s important to remember that the
command line switches that Windows supplies for the
CMD.
Pages:
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285