home *** CD-ROM | disk | FTP | other *** search
-
- RESET.COM - A Public Domain utility
- By Bruce Travers
-
- CIS: 72215,1272
-
- GEnie: TRAVERS
- -----------------------------------------------------------------------
-
- RESET Version 1.0
- -----------------
-
- This utility allows you to maintain several different environments
- on your PC via several AUTOEXEC.BAT and CONFIG.SYS files.
-
- Right now I place the restriction that your environments be set up
- in a sub directory C:\BOOT and that your AUTOEXEC.BAT and CONFIG.SYS
- files reside on C:\.
-
- USING RESET.COM
- ---------------
-
- First you must create a directory on your C disk called BOOT. This
- directory will contain all your different AUTOEXEC and CONFIG files.
-
- Environments use the following naming conventions:
-
- XXXXXXXX.CON - For a CONFIG.SYS file
- XXXXXXXX.AUT - For an AUTOEXEC.BAT file
-
- For example if you wanted an environment which would boot up your
- PC and automatically run Sidekick you could name your files
-
- SIDEKICK.CON and SIDEKICK.AUT
- or
- SK.CON and SK.AUT
-
- The key point is the first 1-8 characters must be the same and the
- AUTOEXEC file must end in .AUT, and the CONFIG file in .CON
-
-
- Once you have several of your favorite combinations of AUT and CON
- files in C:\BOOT you can start using RESET.COM.
-
- Syntax: RESET filename
-
- Example: RESET SIDEKICK
- or RESET SK
-
- What will happen is the AUT and CON files will be copied over your
- AUTOEXEC.BAT and CONFIG.SYS files on C:\ and your system will reboot.
-
- Notes:
- ------
- RESET by itself will cause a re-boot with no copying.
-
- Don't worry that your root directory will not seem to have AUTOEXEC.BAT
- or CONFIG.SYS in it. I made them READ ONLY and HIDDEN to prevent
- unauthorized tampering. You can still TYPE them though.
-
- If you have an All Charge Card you should use RESETA.COM which will
- also reset the charge card thus eliminating strange errors caused by
- the mapping not being reset.
-
- If you make a typo or there is not a pair of CON and AUT files to
- match what you put for filename, the system will appear to hang. Either
- press CONTROL C to return to DOS at this point, or wait a few seconds
- for the R)etry, A)bort message from DOS.
-
- This has only been tested on DOS 3.x... If you have anything less and
- it doesnt work that is because I used the new 3.x way of opening and
- closing files...
-
- RESET Version 1.1
- -----------------
-
- - Files should no longer get garbled when you overwrite a large CONFIG
- or AUTOEXEC with a smaller one.
-
- - For fast machines you may try RESET filename /Px where x is a digit
- from 1 to 9. This will cause a slight pause to allow things to
- quiet down before rebooting. (1 is about 1/2 second on an 8mhz AT,
- 9 is about 4 1/5 seconds).
-
- - RESET filename /A can be used to overried the hiding of the files in
- your root directory.
-
- - If CONFIG.SYS and/or AUTOEXEC.BAT do not exist then they will
- be created by RESET instead of giving you an error.
-
- Well that's about it. If you have any questions/comments or suggestions
- please feel free to drop me a line on CompuServe or GEnie. If you want
- to make sure I get your messages use EMAIL because I seldom read the
- SIG messages.