Well, since you asked nicely here is a copy of the one that I boot on daily. @ECHO OFF SET winbootdir=C:\WINDOWS SET TMP=C:\WINDOWS\TEMP SET TEMP=C:\WINDOWS\TEMP SET PROMPT=$p$g SET MIDI=SYNTH:1 MAP:E SET SOUND=C:\PROGRA~1\CREATIVE\CTSND PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS\SYSTEM;C:\;C:\REALMODE;C:\1DIRPLUS;C:\FLD;C:\UTIL;C:\ZIP;D:;Z:;C:\PROGRA~1\NORTON~2;C:\WINDOWS\TWAIN_32\ADARA;C:\WINDOWS\TWAIN\ADARA;%PATH%;c:\COREL\OFFICE7\SHARED\TRUEDOC\BIN SET BLASTER=A220 I10 D3 H5 P300 T6 C:\WINDOWS\COMMAND\MODE LPT1:,,P >nul The PATH command is one continuous line without spaces or breaks or word wrap. If you run this you will get some error messages like "Error in line 7 unknown directory" or some such because you do not have the same programs I have. You can just delete lines or items in the PATH command Line 1 does not allow DOS to write lines to the screen as it performs each command. This was desirable in old machines that were SOOOOOOOooooo slow. Line 2 sets WINDOWS as the WINDOWS directory. SET can be used instead of an item in PATH and in some instances is a better choice. Line 3 and 4 sets TEMPorary storage directories. Line 5 shows the directory name of the current directory when you are in the DOS mode. Line 6 sets up MIDI parameters. Line 7 sets up sound card programs. Line 8 is the PATH command which tells the computer which directories to search for a particular file name or executable file (.exe or .com or .bat). Line 9 sets up sound card parameters. Line 10 is a command to tell DOS to wait longer before timing out when sending data to the printer since I use a laser printer and a whole page must be loaded before it begins to print and this can confuse DOS into thinking the printer is not functioning properly. AUTOEXEC.BAT files are essential for working in DOS but not so essential for working in WINDOWS exclusively. Windows sets up it's own drivers and routines during loading and the .bat files controls are in the .ini files in the WINDOWS subdirectory and program directories. If you really want to know about batch files get an old DOS 6.22 book at a library or a computer store or show. A CONFIG.SYS file will be executed first, before the AUTOEXEC.BAT file. Commands can be written in lower case. Anytime you have a real AUTOEXEC>BAT file Windows will load items into it when you install a new program. You can bypass all load ins by holding down F8 during the boot process and tell DOS which programs to load. You can bypass all load process and end up in DOS with Shift F5. Now isn't that more than you really wanted to know? Newton
This PTG archive page provided courtesy of Moy Piano Service, LLC