home *** CD-ROM | disk | FTP | other *** search
- AUTOEXEC.BAT
-
-
- If there is a file called AUTOEXEC.BAT in the root directory of the disk used
- during the boot, commands in it will be executed every time you turn on your
- computer.
-
- See the BATCH_COMMANDS topic for information about what can go in the
- AUTOEXEC.BAT file. See the NEW_TERMS BOOT topic for more information about
- how DOS uses AUTOEXEC.BAT during a boot. Below is an example of what might
- be present in an AUTOEXEC.BAT file.
-
- @ECHO OFF
- C:
- SET PATH=C:\LOCAL;C:\DOS;C:\
- SET COMSPEC=C:\DOS\COMMAND.COM
- VERIFY OFF
- APPEND /E
- APPEND C:\DOS
- PROMPT $P$G
- C:\DOS\GRAPHICS
-
- Old versions of OS/2 look for the file OS2INIT.CMD in addition to AUTOEXEC.BAT.
- Under OS/2, the STARTUP.CMD file can be used to run commands after booting.