home *** CD-ROM | disk | FTP | other *** search
/ PC/CD Gamer UK 6 / PCGAMER06.bin / bits / cheet / 1cguru.txt < prev    next >
Text File  |  1995-01-06  |  7KB  |  212 lines

  1. ~The PC Guru's Toolbox
  2.  
  3. By Neil Hopkins
  4.  
  5. It's a common enough phenomena - you've had a PC for a while, 
  6. tinkered around a bit with the config.sys and autoexec.bat files to 
  7. get a game running, mentioned it to someone and before you know it 
  8. you've aquired a reputation as a techie PC guru.  Now, whenever a 
  9. friend, workmate or distant relation takes the plunge and buys a PC 
  10. you find yourself on the recieving end of plaintive cries for help 
  11. in setting up, configuring and just plain sorting out their new toy.
  12. Fortunatly, there is a way to do this that involves the minimum of 
  13. fuss and long winded training of the PC novice - the PC guru's 
  14. toolbox.
  15.  
  16. Over the ten years or so that I have been using PCs for work 
  17. and play I have accumulated a useful selection of utilities that I 
  18. keep neatly bundled together in a directory that I call 'util'.  It 
  19. doesn't really matter what you call it as long as it is included in 
  20. the path command in your autoexec file :-
  21.  
  22. PATH=C:\DOS;C:\WINDOWS;C:\UTIL
  23.  
  24. The utilities fall into several categories :
  25.  
  26. Setups and Configurations
  27. -------------------------
  28. Autoexec and config files cause more bewilderment for the average PC 
  29. user than everything else put together.  Every game seems to insist 
  30. on a subtly and inexplicably different combination of EMMs, BLASTERS,
  31. HIMEMS and MOUSES (or should that be mice!!).  Relax.  99% of setups 
  32. fall into one of three categories.  The bare minimum (for games like 
  33. Doom that use dos extenders or in built memory managers), EMM setup 
  34. for most other games that use emm386 and windows setup for running 
  35. windows.  How do you swap between them ?  Well there are several 
  36. options, you can set up a boot disk for each alternative - this is 
  37. actually quite a good option for complete novices.  You can combine 
  38. all of the options in one file with a boot time menu - the drawback 
  39. to this is that installations that update these files usually can't 
  40. cope with boot menus and up wreaking all sorts of havoc.  The most 
  41. practical option is to keep copies of each setup, and switch between 
  42. them with batch files (see later).  The setups are as follows, 
  43. obviously these may need tweaking with diffent mouse or sound card 
  44. drivers, or possibly vesa drivers and mscdex for windows/multimedia.
  45.  
  46. 1. The Bare Minimum
  47. -------------------
  48. autoexec.min
  49.  
  50. prompt $p$g
  51. path c:\dos;c:\util
  52.  
  53. config.min
  54.  
  55. device=c:\dos\himem.sys
  56. devicehigh=c:\dos\mouse.sys
  57. dos=high
  58. buffers = 30
  59. files = 30
  60.  
  61. 2. EMM setup
  62. ------------
  63.  
  64. autoexec.emm
  65.  
  66. prompt $p$g
  67. path c:\dos;c:\util
  68.  
  69. config.emm
  70.  
  71. device=c:\dos\himem.sys
  72. device=c:\dos\emm386.exe
  73. devicehigh=c:\dos\mouse.sys
  74. dos=high
  75. files=30
  76. stacks=9,256
  77.  
  78. 3. Windows
  79. ----------
  80.  
  81. autoexec.win
  82.  
  83. c:\dos\smartdrv.exe /x
  84. @echo off
  85. prompt $p$g
  86. path c:\windows;c:\dos;c:\util
  87. set temp=c:\tmp
  88. win
  89.  
  90. config.win
  91.  
  92. device=c:\dos\setver.exe
  93. device=c:\dos\himem.sys
  94. device=c:\dos\emm386.EXE noems
  95. device=c:\dos\mouse.sys
  96. dos=high
  97. files=30
  98. stacks=9,256
  99.  
  100. It is also worth backing up windows .INI files from time to time, 
  101. particularly before you install a new bit of software.
  102.  
  103. Batch Files
  104. -----------
  105.  
  106. To switch between setups, all you need is a simple batch file to 
  107. overwrite the existing setting with the appropriate one from the 
  108. util directory.
  109.  
  110. emm.bat
  111.  
  112. copy \util\autoexec.emm \autoexec.bat
  113. copy \util\config.emm   \config.sys
  114. cls
  115. @echo EMM set up - now press Reset ...
  116.  
  117. You can set up a minimum.bat and a windows.bat in a similar fashion.
  118.  
  119. It may be worth setting up simple batch files to run various games 
  120. and programs, so that all your friend has to do to run doom for 
  121. example is type 'minimum', reboot the PC and type 'doom'. It is 
  122. probably best to avoid using menu front ends to launch games, unless 
  123. you can find one that makes minimal demands on memory.
  124.  
  125. File compression utilities
  126. --------------------------
  127. Your util directory should certainly include a copy of pkzip, 
  128. pkunzip and pkzipfix as this is probably the most widely used format 
  129. for compressed files. The other two that are worth having are arj 
  130. and lha, as they do crop up on some BBS systems.
  131.  
  132. I use two batch files for zipping up and unzipping directory 
  133. structures as follows :
  134.  
  135. zipdir.bat
  136.  
  137. pkzip -Pru c:\zip\%1 %1/*.*
  138. pause
  139. deltree %1
  140.  
  141. unzdir.bat 
  142.  
  143. pkunzip -d c:\zip\%1
  144. cd %1
  145.  
  146. These files can be used as follows. Suppose that you have a game 
  147. with various subdirectories that you want to compress and leave on 
  148. your hard disk to come back to later. All you need to do is type
  149.  
  150. zipdir xwing
  151.  
  152. which will then create xwing.zip in your c:\zip directory, and 
  153. remove the uncompressed files to save space. To get the game (and
  154. it's directories) back simply type
  155.  
  156. unzdir xwing
  157.  
  158. which will uncompress the game and put you in the right place. Note 
  159. that if you are using doublespace or stacker, this will not save you 
  160. a great deal of space, but it may still be convenient to archive 
  161. directory structures before backing something up. Also, the zipdir 
  162. command won't re-compress files if they haven't changed (assuming 
  163. that the archive is still in place), so you can, for example, play 
  164. xwing for a bit, zipdir it, and it should just save your pilot files.
  165.  
  166. If you use windows, a front end for zip is useful - my personal 
  167. preference is winzip. It is very useful to be able to select a 
  168. zipfile, look at the contents, unzip it to a check-out directory, 
  169. virus scan it and have it set up in a program group, all from a 
  170. single mouse click. Winzip will also manage arj and lha archives.
  171.  
  172. Disk Utilities
  173. --------------
  174. These are obviously a matter of preference, scandisk and defrag from 
  175. dos 6 are fine for most instances, but norton utilities or PC tools 
  176. disk fix are worth having on a separate disk. As an aside, it is a 
  177. wise precaution to have boot disks with all of your disk fixing 
  178. utilities to hand in case of extreme hard disk disasters.  Unlikely, 
  179. but it is always better to be safe than sorry!
  180.  
  181. File Viewers/Editors
  182. --------------------
  183. A byte editor is useful, as is a simple text editor in case dos edit 
  184. is not present. PC vi is my own somewhat idiosyncratic choice, as I 
  185. am used to using UNIX, probably not recommended for casual users.  
  186. As for graphics files, cshow is the compuserve file viewer that will 
  187. let you look at all GIFs, BMPs etc. A MOD file player may come in 
  188. handy, but these items are not crucial - it depends what you use your
  189. pc for in day to day use.
  190.  
  191. Other Files
  192. -----------
  193. Always make sure that you have a copy of any SVGA vesa drivers that 
  194. you use - univesa is a good general purpose driver that seems to 
  195. work well with most SVGA cards that I have used. Also, any sound 
  196. card set up files and drivers should be backed up to util.
  197.  
  198.  
  199. Conclusion
  200. ----------
  201. PC gurus don't necessarily have to know more about the more esoteric
  202. bits of a PC than other people, it is just a case of finding which
  203. things work well, making a note of them and pulling them together.
  204. So, when you have collected all of your favorite utilities together, 
  205. as opposed to being scattered through the DOS and WINDOWS 
  206. directories, and copied them onto a handy disk, it should be a 
  207. simple task to set up a new PC (or restore one after a disaster) 
  208. with the minimum of hassle.
  209.  
  210. Now all you need to worry about is setting up Windows 95 when it
  211. arrives!
  212.