home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / UTILS2 / OSBS.ZIP / OSBS.DOC < prev    next >
Text File  |  1994-01-26  |  19KB  |  325 lines

  1.             ONE STOP BOOT SHOP: Documentation.  (c)1994 Jim Neill  
  2.                     This is version 1.0 Released 1/24/94
  3.    ========================================================================
  4.  
  5. ABOUT:
  6.  
  7.    The ONE-STOP-BOOT-SHOP (OSBS) is a multiple boot sequencer for MS-DOS 
  8. computers. It will allow you to set up to 256 boot sequences, each with a 
  9. non-DOS limited name (meaning more than eight characters). These sequences 
  10. (AUTOEXEC.BAT and CONFIG.SYS) will be saved to a data file in your DOS 
  11. directory on drive C:. This will keep you from having 256 sets of 
  12. AUTOEXEC.BAT and CONFIG.SYS files scattered about your hard drive. Once set 
  13. up, you can reboot with any saved configuration by typing "OSBS" at a DOS 
  14. prompt. OSBS also includes an uninstall program so you can remove all OSBS 
  15. files, and restore your origional boot configuration.
  16.  
  17. DISCLAIMER:
  18.  
  19.    All programs included in this package are not warrantied in any way, shape 
  20. or form. They have been tested, and to the best of my knowledge contain no 
  21. bugs. But, I will be in no way held responsible for any damage to hardware or 
  22. software, whether directly or indirectly caused by this software. I also take 
  23. no responsibility for damage, even if I have been made aware of the possibil-
  24. ity of it happening. Putting it simply, you use these programs at your own 
  25. risk.
  26.  
  27. SHAREWARE NOTICE:
  28.  
  29.    The OSBS is SHAREWARE. This means, you may try it for 30 days. After which, 
  30. if you do not intent to register it, you must delete it from your computer. 
  31. The cost of registration is $10 US. If you cannot afford to register it, then 
  32. please send me a letter stating what you thought of the program. I am not 
  33. heartless, nor am I rich. I know times are tough, so I don't expect miracles. 
  34. I will give free or reduced registrations to persons that I feel have a viable 
  35. reason for not registering. You must contact me to recieve this type of regis-
  36. tration, it is NOT automatic!!
  37.    The following persons or organizational groups will automatically recieve 
  38. free registration once contacting me: Any church or charity group, any non 
  39. profit organization, persons under the age of 17 that send a photocopy of 
  40. their latest school report card with a 3.0 or higher G.P.A., anyone that sends 
  41. me a registered copy of any program that they wrote or any active duty US 
  42. military personel or persons that are Veterans of any US war. The President 
  43. and Vice President may also recieve a free copy of the program.
  44.    When sending in for regular registration, please fill out the enclosed 
  45. order form and send a check (drawn on a US bank), US money order, or cash for 
  46. $10 to:                                  James M. Neill
  47.                                          OSBS Registration
  48.                                          213 Merriwood Drive
  49.                                          Oakdale, PA  15071   USA
  50.    
  51.    When applying for free or reduced registration, please fill out the encl-
  52. osed order form, and the enclosed application for free or reduced registration 
  53. (AFFORR.FRM). If you were approved for free registration, you will recieve 
  54. notification of such in the mail. If you were denied or approved for reduced 
  55. registration, you will recieve notification of such in the mail. 
  56. Send forms to:                           James M. Neill
  57.                                          OSBS AFFORR Application
  58.                                          213 Merriwood Drive
  59.                                          Oakdale, PA  15071   USA
  60.    
  61.    Please do not abuse the reduced or free registration. It is there for 
  62. persons or groups that were willing to put forth an extra effort that deserves 
  63. recognition. If you do not qualify for the AFFORR, don't forget that it still 
  64. is only $10 for legal registration! Not too much to ask, I think.
  65.  
  66. REQUIREMENTS:
  67.  
  68.    OSBS requires an IBM compatable computer running with a hard drive. You 
  69. must have DOS installed on drive C:. I don't know whether it will work with 
  70. types of DOS other than MS-DOS. I am running MS-DOS v. 6.2, and I haven't 
  71. tried it with other types of DOS. There are no external DOS calls, so it 
  72. should work with any version of MS-DOS 3+. If you have trouble running it on 
  73. any version, let me know. Also, if it works for you, and your not using MS-DOS 
  74. let me know.
  75.    OSBS can be accessing up to 6 files at once, so if you have problems that 
  76. suggest that you are accessing too many programs at once, raise your FILES=n 
  77. in your CONFIG.SYS.
  78.  
  79. DISTRIBUTION:
  80.  
  81.    Distribution of this program is allowed by any means possible. You may not 
  82. charge anything for this program, other than a small fee (under $5) for the 
  83. cost of the media. This program may be included on any SHAREWARE CDROM. Though 
  84. not required, I do ask if you intend to distribute it on CD or by mass produc-
  85. tion, you let me know(I like to see my name in lights, but I have to know 
  86. where to look!).
  87.  
  88. INSTALLATION:
  89.  
  90.     To install the program, you must have the following files:  OSBS.EXE, 
  91. OSBSSET.EXE, OSBSADD.EXE, OSBSUPDT.EXE, OSBSDEL.EXE, OSBSREM.EXE, 
  92. OSBSCURR.EXE, REBOOT.COM, README.1ST, OSBS.DOC (your reading it!), ORDER.FRM, 
  93. and AFFORR.FRM. If you distribute this program, all of these programs MUST be 
  94. present in the archive or on the disk. If there is not an install.bat included 
  95. with the program, then follow these steps to complete the installation:
  96.  
  97. Type>   COPY *.EXE C:\DOS
  98. Type>   COPY REBOOT.COM C:\DOS
  99.  
  100.    This will ensure all of the vital files are in your PATH. You may run into 
  101. problems if these files are placed in another directory that is still in your 
  102. PATH. it is recommended that they are placed in DOS, on drive C:. The doc 
  103. files and frm files can be in any directory.
  104.    Be sure to make a system disk before continuing!! To do this, put a blank 
  105. disk in drive A: or B:. Then type>  FORMAT A: /U /S  This will format the 
  106. disk, and put the system files on that disk. This way, you should have a safe 
  107. backup route if things go wrong. Be sure to store this disk in a safe place.
  108.  
  109. Type>   OSBSSET
  110.  
  111.    Doing this will bring up the set up program for OSBS. Just follow the 
  112. prompts to initialize the program. Your current CONFIG.SYS and AUTOEXEC.BAT 
  113. files will be added to the OSBS.DAT file that will be created in your C:\DOS 
  114. directory. The OSBS.DAT file can be edited by any text editor. Be sure that if 
  115. you edit the file, you read the below section entitled: ABOUT THE OSBS.DAT 
  116. FILE.
  117.  
  118.    Now the program is initialized. You have several options now. There are two 
  119. ways that you can add more sequences to your data file. The first way is to 
  120. run the OSBSADD program. For details on using this program, see the USING THE 
  121. OSBSADD PROGRAM. The second way is to edit your files now, just as you norm-
  122. ally would. If you are totally rewriting the files, this is the recommended 
  123. procedure. Just rewrite the AUTOEXEC.BAT and CONFIG.SYS files, get them run-
  124. ning to the way you want (If your running a program such as MEMMAKER, be sure 
  125. to run it before updating the OSBS.DAT file!), and then run the OSBSCURR file. 
  126. Using this program is explained below.
  127.  
  128. THE OSBSADD PROGRAM:
  129.  
  130.    The OSBSADD program is a text editor specifically designed for editing your 
  131. CONFIG.SYS and AUTOEXEC.BAT files at once. To run it, simply type> OSBSADD at 
  132. the DOS prompt. The program will then come up with your current CONFIG.SYS and 
  133. AUTOEXEC.BAT files. Now, you should edit them to your likings. This editor 
  134. should be used when doing minor edits or adding and removing small amounts of 
  135. data. The editor works just like DOS's EDIT program. The pull down menu in-
  136. cludes a cut, copy and paste clipboard for doing several startup sequences. 
  137. I will not go into detail about how to edit files. You should have a general 
  138. knowledge on editing your CONFIG.SYS and AUTOEXEC.BAT files, anyway. If you 
  139. aren't sure how to edit them, see your DOS manual or get some help. Be care-
  140. ful, if you mess up these two files, you can severely cripple your computer's 
  141. performance. A mouse is recommended for this program. If you do not have a 
  142. mouse, the TAB key will cycle through the options on the screen. It will be 
  143. assumed that you do have a mouse. 
  144.    Clicking on the SAVE button will prompt you for a name for the current boot 
  145. sequence. You can give a name up to 40 characters, but it is recommended keep-
  146. ing it under 20. Type in the sequence name, and click on OK. An example would 
  147. be, if you set a configuration to be optimized for Windows, you could give it 
  148. the name WINDOWS BOOT. After selecting OK, the files will be saved to the 
  149. OSBS.DAT file. Then, when you run OSBS, you can just select WINDOWS BOOT, and 
  150. the computer will reboot with that configuration.
  151.    Clicking the RESET button will reload the AUTOEXEC.BAT and CONFIG.SYS files 
  152. that were active in the system when you ran OSBSADD. This is good if you 
  153. wanted to make a good part of the origional files the same on a bunch of 
  154. configurations. The pull down menu, accessable with the mouse or by pushing 
  155. the ALT key, include all of the above mentioned commands, and the edit func-
  156. tions such as EDIT, CUT and PASTE.
  157.    Clicking on the QUIT button will exit the OSBSADD program. If you have not 
  158. saved your latest edit, you will loose all of it's contents.
  159.  
  160. THE OSBSCURR PROGRAM:
  161.  
  162.    The OSBSCURR program is a command line program for adding the configuration 
  163. you are currently using. If you are using a program such as memmaker or QEMM, 
  164. this is the recommended method for adding files. First, edit the configuration 
  165. files to your liking. Then run OSBSCURR to add them to your data file. If you 
  166. wanted to add the current sequence and call it WINDOWS BOOT, you would type>  
  167. OSBSCURR "WINDOWS BOOT". Be sure to enclose the name in quotes. That way, you 
  168. can have spaces in the name. If you do not include quotes, the first and last 
  169. character of the string will still be removed, so be sure to include them! 
  170.    After doing that, your data file is updated, and you are set. You are now 
  171. ready to run the OSBS program!
  172.  
  173. THE OSBS PROGRAM:
  174.  
  175.    The heart of OSBS, is the OSBS program itself. To use it, simply type OSBS 
  176. and press enter. You will be presented with a list of choices to select for 
  177. your boot sequence. You can use a mouse, or the arrow keys to highlight the 
  178. choice you want, then click on OK, or press ENTER. Your computer will then 
  179. update your CONFIG.SYS and AUTOEXEC.BAT files, and reboot. If your computer 
  180. appears to lock up, then press CTRL-ALT-DEL. This will reboot your computer 
  181. and initiate the new boot sequence.
  182.  
  183. ABOUT THE OSBS.DAT FILE:
  184.  
  185.    The OSBS.DAT file is created when you run OSBSSET. It contains all of the 
  186. information for your boot sequences. The can be edited with any text editor. 
  187. If you do edit it, be careful, because unpredictable results can occur if you 
  188. mess up this file! Including not being able to UNINSTALL the program!!
  189.    I will break the file format down for you now. The first line of this file 
  190. contains the files ID string, telling you that this is the data file, and you 
  191. should not delete it! After that line, will be your origional boot sequence. 
  192. All sequences are setup the same way. They are specified as a different seq-
  193. uence by the CHR$ 244 (looks like Noah's staff). Directly after this character 
  194. should be the name of the boot sequence, such as ORIGIONAL BOOT. 
  195.    The next line should be the CHR$ 243 (a less than sign with a line under 
  196. it). This specifies the start of the CONFIG.SYS data. You will then find the 
  197. main data for the CONFIG.SYS file. This is where you can edit a specific part 
  198. of the file.
  199.    After the CONFIG.SYS data, will be another CHR$ 243. This tells OSBS that 
  200. the CONFIG.SYS is over, and the AUTOEXEC.BAT is starting. Just as above, the 
  201. AUTOEXEC.BAT data will be next. 
  202.    After the AUTOEXEC.BAT data will be... yep, you guessed it! Another CHR$ 
  203. 243. This tells OSBS that the AUTOEXEC.BAT is finished. You can follow this 
  204. sequence to manually add up to 256 different configurations. Remember to 
  205. follow this sequence!!!!
  206.       CHR$ 244 + [Name of sequence]
  207.       CHR$ 243
  208.       [CONFIG.SYS data]
  209.       CHR$ 243
  210.       [AUTOEXEC.BAT data]
  211.       CHR$ 243
  212.    If you follow this format, you should have no problems. If there are blank 
  213. lines, they will be ignored by OSBS.
  214.  
  215. ABOUT THE OSBSUPDT PROGRAM:
  216.  
  217.    Now that your boot up sequences are up and running, you may have to make 
  218. some adjustments. Let's say for example, you move Windows from C:\WINDOWS to 
  219. D:\WINDOWS. Well, you could start all over, redoing all of your startup seq-
  220. uences, or you could use OSBSUPDT. This command line program will take a 
  221. string you designate, and replace it with another string you specify. Like 
  222. with our example of moving Windows. You would type>  OSBSUPDT "C:\WINDOWS" 
  223. "D:\WINDOWS". The program will then go through your data file, finding any 
  224. reference to C:\WINDOWS, and replacing it with D:\WINDOWS. Note that the 
  225. strings can be any case (upper or lower), but have to be EXACT in text. That 
  226. means if you typed C:\_WINDOWS, with a space, it would pass up C:\WINDOWS! Be 
  227. sure to be careful when typing. And be sure to include the quotations!
  228.    Another feature of OSBSUPDT is the /V switch, which will verify the exist-
  229. ance of the string you are searching for. If it comes up with more than 0 
  230. occurances found, you know you typed it right! When using this switch, no 
  231. files will actually be edited. So it is safe to use it for testing purposes.
  232.  
  233. ABOUT THE OSBSDEL PROGRAM:
  234.  
  235.    Ok. Your OSBS is set up great! It's running fine, but you find that you 
  236. went overboard with the boot sequences. So, you want to get rid of a select 
  237. few. Well, enter OSBSDEL! This program will bring up a select box that con-
  238. tains a list of all of your boot sequences, and let you pick one. After sel-
  239. ecting one, it will be removed from the data files, so be sure you know which 
  240. one you want ot delete! OSBSDEL is set up the same way as OSBS is, so select-
  241. ing the file should be familiar to you by now.
  242.  
  243. ABOUT THE OSBSREM PROGRAM:
  244.  
  245.    Now, there may come a time that you have to totally start over with your 
  246. configurations. Maybe you are having some serious problems, or you added a 
  247. hardware component that will make it easier just to restart OSBS. The OSBSREM 
  248. program takes care of that for you. Basically, it will UNINSTALL all of the 
  249. program files, and restore the origional CONFIG.SYS and AUTOEXEC.BAT files you 
  250. had when you first ran OSBSSET. Remember, that after running this, all files 
  251. pertaining to OSBS will be deleted. Including the EXE files! After running 
  252. this, you must reinstall the program as if you had just got it. You should use 
  253. this program if you have had OSBS for thirty days, and do not intend on regis-
  254. tering it. Just type> OSBSREM at the DOS prompt, and answer YES to the prompt. 
  255. After that, it is too late to stop it, so be sure you want to do it!
  256.  
  257.    Well, hopefully you have no problems getting OSBS up and running. I know 
  258. there are alot of EXE files, but I thought it would be simpler to have them 
  259. all seperate, than to having a single file with 500 command line switches! 
  260. Once up and running, OSBS should definately make life with programs requiring 
  261. different setups easier. If you are having problems with OSBS, feel free to 
  262. write to me. I will try my best to help you work out any problems you are 
  263. having! 
  264.  
  265. NOTES:
  266.  
  267.    Some info that you may find to be useful. First off, let me say that the
  268. best way to edit a file that already exists is to use a text editor. I would
  269. have included one, or changed OSBSADD to edit existing files, but I had about
  270. 4 other projects that had been side tracked for this program, and since DOS 5
  271. and up came with a good editor, well... you get the picture.
  272.    Anyway, the other way to edit an existing sequence would be to run OSBS,
  273. selecting the sequence you want to edit. Then edit the AUTOEXEC.BAT and CON-
  274. FIG.SYS files the way you want them. Next, run OSBSCURR to add the files to
  275. your data file. Finally, run OSBSDEL to delete the old file sequence you have
  276. just updated. Remember, all sequences are listed in the order you made them.
  277.  
  278.    Also, you may have noticed that OSBS will not allow you to edit your or-
  279. igional boot sequence. OSBSUPDT will  skip right over it. That is for safety's
  280. sake. Don't worry, you can still edit them with a regular text editor.
  281.  
  282.    As said before, it is important to put all of your EXE files, REBOOT.COM,
  283. and of course your OSBS.DAT file in DOS (OSBS.DAT is created in that direct-
  284. ory, and OSBS will not recognize it in any other drive). If you are thinking
  285. of putting the EXE files somewhere else, go ahead. But remember, ALL of your
  286. boot sequences have to include the directory that contains these files. OSBS
  287. doesn't do a hunt and search for files. If there not where they are supposed
  288. to be, well.. you guess what happens! The only file that is EXPECTED to be in
  289. a particular directory is OSBS.DAT in C:\DOS.
  290.  
  291.    To clear up some info on OSBSUPDT. This program only works with an entire
  292. line of your configuration. And, as said before, it has to be exact. Do to the
  293. wide range of CONFIG.SYS and AUTOEXEC.BAT contents, this limitation is the 
  294. only SAFE alternative I could think of. If you have an idea on accessing the
  295. files in a safe manor, let me know!
  296.  
  297.    A little misunderstanding one of my BETA testers had. The reference to EDIT
  298. in OSBSADD refers to editing a new configuration, not an existing one! Sorry
  299. for any confusion.
  300.  
  301. ABOUT THE PROGRAMMER:
  302.  
  303.    Well, now is the part I get to brag! Yea! Seriously, I have been program-
  304. ming for about 13 years. I have done programming in QB45, Visual Basic for DOS 
  305. (these programs were written with VBDOS and some assembly routines), Visual 
  306. Basic for Windows (the best program on the market!!), and a little bit of C++. 
  307.    If you are interested in hiring me, please write. I am planning on going to 
  308. school to learn some advanced programming. I am willing to move for a decent 
  309. job (not so much tons of money, but one I would enjoy!). I would also be will-
  310. ing to write programs for small businesses. If you are interested in having a 
  311. program written for you, please contact me at the above address. 
  312.  
  313. THANKS, HELLOS and GREETS GO TO:
  314.    
  315.    My beta testers: Larry Harris, Bill Flucker, Tom Neill, Jim Neill (my dad!)
  316. Thanks and/or hello to : John Eckenrode, Gary Limburht, John McMahon, Kristen
  317. Neill, MOM and DAD, Tommy, Brian, Tom and Dee Ferris (I miss you!), Mike Dixon
  318. and family, Ken Manecki, Bobby Moore, Nhan McChesney (If you read this, drop 
  319. me a line at the address above!), the guys at Metallica, Testament, and Over 
  320. Kill (for keeping me sane while programming!), and The Big Guy upstairs!
  321.    Sorry if I forgot anyone! I'll get ya on the next one!
  322.  
  323. THE END! (I bet you're glad to see that!!)
  324.  
  325.