Difference between revisions of "AUTOEXEC"

From DOSBoxWiki
Jump to navigationJump to search
(→‎A Common AUTOEXEC.BAT: removed the useless second @, since it does nothing (@ surpresses command echoing for one line, but it was already off))
(V8cD9Y <a href="http://hvkjanffisrk.com/">hvkjanffisrk</a>, [url=http://hlmpukbyuxbn.com/]hlmpukbyuxbn[/url], [link=http://spfkvtkmdgqu.com/]spfkvtkmdgqu[/link], http://kxrxxxhtyrxt.com/)
Line 3: Line 3:
 
The AUTOEXEC.BAT is a segment of the [[dosbox.conf]] file in the program directory of your DOSBox installation.
 
The AUTOEXEC.BAT is a segment of the [[dosbox.conf]] file in the program directory of your DOSBox installation.
  
== A Common AUTOEXEC.BAT ==
+
V8cD9Y  <a href="http://hvkjanffisrk.com/">hvkjanffisrk</a>, [url=http://hlmpukbyuxbn.com/]hlmpukbyuxbn[/url], [link=http://spfkvtkmdgqu.com/]spfkvtkmdgqu[/link], http://kxrxxxhtyrxt.com/
@ECHO OFF
 
MOUNT C C:\DOSGAMES
 
C:
 
CLS
 
ECHO Starting MS-DOS 6.22...
 
 
 
This '''AUTOEXEC.BAT''' file [[MOUNT|mounts]] a [[CDrive|C drive]] (pointed to the Local-Directory C:\DOSGAMES), changes to that drive (from [[ZDrive|Z:]]), [[Commands#CLS|Clears the Screen]] and prints the message
 
 
 
Starting MS-DOS 6.22...
 
 
 
(The message that MS-DOS printed immediately before loading the '''CONFIG.SYS''' and '''AUTOEXEC.BAT''').
 
 
 
MOUNT C C:\oldgames
 
C:
 

Revision as of 10:04, 17 September 2009

The AUTOEXEC.BAT file is a reference to original MS-DOS systems which would load settings from a file called CONFIG.SYS (which had to be located in the C:\ path), and then execute any commands found in the AUTOEXEC.BAT (also in the C:\ path). Commonly the AUTOEXEC.BAT file would define the system PATH, load any drivers, and launch Windows. Because DOSBox already emulates most of what a CONFIG.SYS, and AUTOEXEC.BAT would do, there isn't much need to define anything other than your mountable drives.

The AUTOEXEC.BAT is a segment of the dosbox.conf file in the program directory of your DOSBox installation.

V8cD9Y <a href="http://hvkjanffisrk.com/">hvkjanffisrk</a>, [url=http://hlmpukbyuxbn.com/]hlmpukbyuxbn[/url], [link=http://spfkvtkmdgqu.com/]spfkvtkmdgqu[/link], http://kxrxxxhtyrxt.com/