home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / autoexec.hlp < prev    next >
Encoding:
Text File  |  1989-01-01  |  896 b   |  25 lines

  1.                           AUTOEXEC.BAT
  2.  
  3.  
  4. If there is a file called AUTOEXEC.BAT in the root directory of the disk used
  5. during the boot, commands in it will be executed every time you turn on your 
  6. computer.
  7.  
  8. See the BATCH_COMMANDS topic for information about what can go in the 
  9. AUTOEXEC.BAT file. See the NEW_TERMS BOOT topic for more information about
  10. how DOS uses AUTOEXEC.BAT during a boot. Below is an example of what might
  11. be present in an AUTOEXEC.BAT file.
  12.  
  13.     @ECHO OFF 
  14.     C:
  15.     SET PATH=C:\LOCAL;C:\DOS;C:\
  16.     SET COMSPEC=C:\DOS\COMMAND.COM
  17.     VERIFY OFF
  18.     APPEND /E
  19.     APPEND C:\DOS
  20.     PROMPT $P$G
  21.     C:\DOS\GRAPHICS
  22.  
  23. Old versions of OS/2 look for the file OS2INIT.CMD in addition to AUTOEXEC.BAT.
  24. Under OS/2, the STARTUP.CMD file can be used to run commands after booting.
  25.