"BOOT_SEL" Ä Boot Selector Utility V2.20 Copyright (c) 1990-1992 by Danen Software Services. All Rights Reserved. This program may be distributed freely, as long as no money is charged. The program and documentation may not be modified without the author's permission. If used in a commercial or government environment, you are expected to purchase a commercial license for $10 per PC. DISCLAIMER This program is distributed "as is." The author makes no claims as to the suitability of this program, nor is he responsible for losses due to misuse or abuse of the program. The user assumes all responsibility for determining if this program is suitable for his purposes. INTRODUCTION The purpose of this program is to provide a PC user, running DOS, with a number of different boot-up scenarios. This program was born out of a need for one of my clients who needed LAN drivers loaded in most cases, but sometimes needed to run a Clipper application that barely fit in 640K. The program has since been modified several times to make it more general-purpose. INSTALLATION Installation is as simple as copying BOOT_SEL.COM and BOOT_SEL.MNU to a directory on your hard disk, that can be found through the DOS PATH. Then, using your favourite text editor, edit the BOOT_SEL.MNU file to reflect your own boot options. CONTENTS OF BOOT_SEL.MNU FILE All records in BOOT_SEL.MNU with a [x] record marker are used by BOOT_SEL. All other lines are ignored and can be used for comments. Note that [1], [2], and [3] are used in sets. Valid record types are: [0] Title for menu box [1] Option 1 identifier ~ followed by help text [2] CONFIG.SYS records [3] AUTOEXEC.BAT records [1] Option 2 identifier ~ followed by help text [2] CONFIG.SYS records [3] AUTOEXEC.BAT records [4] CONFIG.SYS records for initial boot [5] AUTOEXEC.BAT records for initial boot [8] Name of start-up batch file, e.g. DOSSHELL or MNU [9] End-of-file marker WARNING: Before running the program, make sure to have a bootable floppy disk ready, just in case... Also, keep a backup copy of your old AUTOEXEC.BAT and CONFIG.SYS! A note about record type [8]. Many users like to have their own favourite menu start when AUTOEXEC.BAT has finished. Some users like DOSSHELL, others use my MNU. If you don't want a menu to start, just leave that line blank. Please refer to Appendix A for a complete sample BOOT_SEL.MNU file. You'll soon get the idea! COMMAND LINE SWITCHES You can change the behaviour of BOOT_SEL by using command line options. Try them out to see how they can help you. If you find yourself using /L=A all the time, for example, you may want to create a batch file with "BOOT_SEL /L=A" in it. /B allows the program to run in black & white mode on black & white monitors attached to colour video boards. /C performs a cold boot (default is warm boot). This is useful in cases where adapter cards are reset via cold boot only. Normally the first [1] record indicates the default option, automatically taken after the time-out period has passed. /D=nn will make nn the default option. /W=nn allows the user to change the wait period to nn seconds before picking default option (default = 10 seconds). /L=x writes boot files to drive "X". BOOT_SEL assumes the boot drive to be C:. If you boot from drive A:, then you must use switch /L=A. OWNERSHIP This program is, and shall remain the property of the author. It may be distributed freely, as long as no money is charged. The program and documentation may not be modified without the author's permission. If used in a commercial or government environment, you are expected to purchase a commercial license for $10.00 per PC. See Appendix B for an order form. Please send your payment, comments, suggestions, and bug reports to: Mr. Gerry J. Danen 106 Abbotsfield Road Edmonton, Alberta CANADA T5W 4S9 APPENDIX A Following is a sample of a BOOT_SEL.MNU file (^{ indicates an [Escape] code): [0]Please Select a Boot Option, or press [Esc] to Cancel [1]Standard~This is the standard boot procedure! : CONFIG.SYS [2]DEVICE=\QEMM\QEMM386.SYS RAM [2]DEVICE=\ATI\RAMBIOS.SYS [2]FILES=50 [2]BUFFERS=20 /x [2]DEVICE=\QEMM\LOADHI.SYS /R:2 C:\WIN3\RAMDRIVE.SYS 4096 512 512 /E [2]DEVICE=\QEMM\LOADHI.SYS /R:1 C:\WIN3\MOUSE.SYS /Y [2]DEVICE=\QEMM\LOADHI.SYS /R:1 C:\ATI\VANSI.SYS [2]INSTALL=\QEMM\LOADHI.COM /TSR /R:1 C:\DOS\X\SHARE.EXE /L:2 [2]SHELL=C:\DOS\COMMAND.COM /P /E:3000 [2]STACKS=0,0 : AUTOEXEC.BAT [3]set COMSPEC=C:\DOS\COMMAND.COM [3]echo ^{[44;37m ^{[44;37m [3]cls [3]call c:\bat\set_evar [3]copy c:\dos\command.com %RAM% >nul [3]copy c:\ram\bu.com %RAM% >nul [3]%RAM%bu h AUTOEXEC 26-Dec-1990 [3]\qemm\loadhi /r:2 mode LPT1:,,P >nul [3]\qemm\loadhi /r:1 dosedit [3]c:\ut\numlock >nul [3]md %RAM%work >nul [3]bu m Installing RAMdisk. [3]copy c:\dos\chkdsk.* %RAM% >nul [3]copy c:\dos\comp.* %RAM% >nul [3]copy c:\dos\more.* %RAM% >nul [3]copy c:\ram\*.* %RAM% >nul [3]%RAMDRV% [3]cd \ [3]ds en /s >nul [3]cd %RAM%work [3]c: [3]cd \ [3]cls [1]Quick~Quick boot -- no device drivers, no TSRs : CONFIG.SYS [2]FILES=20 [2]BUFFERS=10 [2]SHELL=C:\DOS\COMMAND.COM /P /E:512 [2]STACKS=0,0 : AUTOEXEC.BAT [3]set COMSPEC=C:\DOS\COMMAND.COM [3]echo ^{[44;37m ^{[44;37m [3]cls [1]LAN~Access the Local Area Network : CONFIG.SYS [2]break=on [2]files=30 [2]device=\dos\xmaem.sys [2]device=\dos\xma2ems.sys frame=D000 [2]device=\dos\dxma0mod.sys 001 [2]device=\dos\dxmc0mod.sys [2]device=\dos\dxmt0mod.sys O=N S=9 [2]ifs=\pclp13bs\redir.sys [2]install=\pclp13bs\ifsfunc.exe [2]lastdrive=z [2]fcbs=16,8 [2]shell=\dos\command.com /p /e:2000 : AUTOEXEC.BAT [3]call \logon\lanpath [3]bu h Information Services - LAN Access [3]verify off [3]ver [3]bu m Loading network... Please wait. [3]net start rdr infoopr1 [3]net use t: \\testserv\temp [3]net use lpt1 \\testserv\proprinter [3]net use lpt2 \\testserv\hplaser [3]:NOPCLP [3]mouse [1]DOS~Stand Alone Processing : CONFIG.SYS [2]break=on [2]files=30 [2]buffers=30 [2]device=\dos\xmaem.sys [2]device=\dos\xma2ems.sys frame=D000 [2]device=\dos\ansi.sys [2]lastdrive=e [2]fcbs=16,8 [2]shell=\dos\command.com /p /e:2000 : AUTOEXEC.BAT [3]echo ^{[44;37m ^{[44;37m [3]call \logon\dospath [3]bu h Information Services - Just DOS [3]verify off [3]dosedit [1]PC Support~Access to AS/400 via PC Support : CONFIG.SYS [2]break=on [2]files=30 [2]buffers=30 [2]device=\dos\xmaem.sys [2]device=\dos\xma2ems.sys frame=D000 [2]device=\dos\dxma0mod.sys 001 [2]device=\dos\dxmc0mod.sys [2]device=\dos\dxmt0mod.sys O=N S=9 [2]device=\pcs\eimpcs.sys P=512 [2]device=\pcs\ecyddx.sys [2]device=\pcs\fsdd.sys [2]lastdrive=z [2]fcbs=16,8 [2]shell=\dos\command.com /p /e:2000 : AUTOEXEC.BAT [3]call \logon\dospath [3]bu h Information Services - PC Support [3]verify off : Start-up CONFIG.SYS [4]device=\dos\ansi.sys : Start-up AUTOEXEC.BAT [5]\dcc\boot\boot_sel : Name of start-up batch file, e.g. DOSSHELL or MNU [8]MNU [9] APPENDIX B ORDER FORM Please check: ___ Commercial license for the use of the BOOT_SEL (v2.20) program on ______ computers @ $10.00 each. $_______ ___ Latest program disk ($15.00 for handling, shipping, etc.). $_______ ÄÄÄÄÄÄÄ Total payment enclosed (cheque or money order): $_______ ______________________________________________________________________________ Name ______________________________________________________________________________ Company ______________________________________________________________________________ Address ______________________________________________________________________________ City Prov/State Postal Code/Zip Please send your order to: Gerry J. Danen 106 Abbotsfield Road Edmonton, Alberta CANADA T5W 4S9