
 AUTOEXEC.BAT Example file 

echo off

rem  Make selection based on which option selected
c:\bc\bctell
goto %SELECTION%


rem  Network (with Memory Commander)
:NETWORK
path c:\dos;c:\123;c:\mc;e:\windows;
echo Loading Network Drivers
c:\tsrs\ipx_wdd5
c:\tsrs\net5
c:\tsrs\mouse
c:\tsrs\doskey
goto EXIT


rem  No Network (with Memory Commander)
:NO_NETWORK
path c:\dos;c:\123;c:\mc;e:\windows;
c:\tsrs\mouse
c:\tsrs\doskey
goto EXIT


rem  Clean system (no TSRs)
:CLEAN_SYSTEM
path c:\dos;c:\123;c:\mc;
goto EXIT


rem  Turbo Debugger
:TURBO_DEBUGGER
path c:\dos;c:\123;c:\mc;c:\tasm;c:\td;
c:\tsrs\mouse
goto EXIT


:EXIT



  Notes Ŀ
                                                                        
   DOS batch files only look at the first eight characters of a label,  
   and any characters beyond eight are ignored.  This means that each   
   boot option should have a unique name within the first 8 characters. 
                                                                        
   When using BCTELL to set the "SELECTION" variable, it takes the      
   selected menu item, replaces all spaces with underlines, and         
   eliminates all characters other than A-Z, a-z, _, and 0-9.  The      
   open parenthesis character "(" indicates the end of the selection    
   and all characters after and including "(" are ignored.              
 

