Testbusters.net
  Testbusters.net
  Guaranteed Pass!
We want you to pass!
    Test Questions
 Aplus
  Test 11
  Test 1
  Test 12
 More Test
Questions
Home  
Guarantee  
About Us  
FAQ  
Purchase
Products     Microsoft®    CompTIA®    Cisco®    Subnetting Made Easy
Windows 9X
   Autoexec.bat
   W98 Boot
   W98 Install
   W98 Registry
Storage
  Disk Partitions
  Disk Volumes
  RAID
Troubleshooting
   IPConfig
   Winipcfg
Logical Memory
   Conventional
File Systems
   DOS
   FAT
Autoexec.bat
The important thing to keep in mind when working with the AUTOEXEC.BAT for the A+ exam,
is that it is responsible for environmental variables (Stored operating system information that is
constantly changing), and the paths to these variables.
The locations for these changing environments are called environment variables or environment
commands.
They are as follows, and are easily managed with the autoexec.bat file.

The compsec= variable is automatically set during the boot process by command.com, and is
used to tell DOS where the transient portion of command.com is located.

Comspec=C:\command.com

The path= variable is used to tell command.com where to find the subdirectories that DOS is seeking when running a program.

Path=c:\dos; c:\windows

The Temp= statement is used to tell the operating system to store temporary files that are used by applications.

Set temp=c:\windows

The Prompt= is used to set the characteristics of the DOS prompt.

Prompt=$p$g

Prompt $p$g tells the operating system to have the prompt look as follows;
C:\>

The = sign in the above statements that are found in the autoexec.bat and config.sys represent an empty space. The commands will thus work without the = sign if there is a space between the variable and the statement.

The Echo command is used to repeat the text that is typed in, back to the screen and/or can be used to echo to a peripheral on the computer such as a COM port.


Copyright ©2002-2010 Testbusters.net. All Rights Reserved.
Testbusters.net is not sponsored, endorsed or affiliated by any associated vendor.
Associated venders include, but are not limited to, Microsoft®, Cisco®, CompTIA®, Novell® etc.