home *** CD-ROM | disk | FTP | other *** search
/ PC Home MegaDisk 14 / Lowe_PCHomeDecember1993MegaDiskIssue14.img / DATA / HELP.BAT < prev    next >
Encoding:
DOS Batch File  |  1993-10-07  |  14.8 KB  |  373 lines

  1. ECHO OFF
  2. CLS
  3. IF %1==2 GOTO help2
  4. IF %1==3 GOTO help3
  5. echo Crash course on PCs and MS-DOS
  6. echo ===============================
  7. echo[
  8. echo BOOTING UP
  9. echo -----------
  10. echo When the PC is switched on it needs to load the operating system (such as MS-
  11. echo DOS) into memory. The operating system is a special computer program, and
  12. echo without it, the PC just won't work. Dos is loaded either from a floppy disk in
  13. echo drive A or the hard disk.
  14. echo[
  15. echo If you have one floppy disk drive it will be called drive A, if you have two,
  16. echo then they are A and B. They can be the same size or different sizes. Built
  17. echo into most PCs is a hard disk - a special kind of high capacity disk drive that
  18. echo can store a lot of information. You can't take this disk out like a floppy,
  19. echo it's fixed. It's called a fixed disk or hard disk or hard drive.
  20. echo[
  21. echo If you have two floppies and a hard disk, then the hard disk is C. However, if
  22. echo you have only one floppy and a hard disk then they are A and C - there's no B.
  23. echo When you switch the PC on, it looks to see if there is a disk in drive A, and
  24. echo if there is, it tries to load Dos from it. If Dos isn't on the floppy disk,
  25. echo you'll see an error message on the screen, something like "Please insert a
  26. echo system disk in drive A and press a key".
  27. echo[
  28. pause
  29. cls
  30. echo If there isn't a floppy disk in drive A when you switch on the PC it looks for
  31. echo Dos on the hard disk - if you have one. Eventually, you'll end up with what's
  32. echo called the Dos prompt.
  33. echo[
  34. echo DIRECTORIES
  35. echo ------------
  36. echo You can tell what files (programs, or other information) are stored on your
  37. echo disk by typing (in upper or lower case):
  38. echo[
  39. echo DIR
  40. echo[
  41. echo or:
  42. echo[
  43. echo DIR /W
  44. echo[
  45. echo The name of a file can be up to eight characters long, followed by a full stop
  46. echo and then three more characters, like TREE.COM. Some characters on the keyboard
  47. echo are special and can't be used in names, * and ? are two.
  48. echo[
  49. echo Generally speaking, any file which ends in .EXE, .COM or .BAT is a program
  50. echo that can be run by typing in its name. You don't need to enter the .EXE, .COM
  51. echo or .BAT - just the first part of the name.
  52. echo[
  53. pause
  54. cls
  55. echo If you think of the disk as a filing cabinet into which you can put files, you
  56. echo can imagine how untidy it would become if you just threw everything in. You
  57. echo can make drawers and put files of a similar nature in specific drawers. They
  58. echo aren't called drawers, of course, but directories (sometimes called folders).
  59. echo There are probably some directories already on you disk and these are shown
  60. echo when you type DIR with a <DIR> after their name. DOS is a very common
  61. echo directory as it is used to hold many files and programs that both you and the
  62. echo operating system need to work.
  63. echo[
  64. echo To change to a directory type CD followed by its name like this:
  65. echo[
  66. echo CD DOS
  67. echo[
  68. echo and to find out what files are in it, type:
  69. echo[
  70. echo DIR
  71. echo[
  72. echo To change back to the directory you just came from, (what's called the parent
  73. echo directory) type:
  74. echo[
  75. echo CD ..
  76. echo[
  77. pause
  78. cls
  79. echo There can be directories within directories. To change to the parent of all
  80. echo directories, type:
  81. echo[
  82. echo CD \
  83. echo[
  84. echo To make a new directory you use the MD command followed by the name (up to
  85. echo eight letters), like this:
  86. echo[
  87. echo MD GAMES
  88. echo[
  89. echo This will create a directory called GAMES into which you could put all your
  90. echo games. You can change to this new directory with:
  91. echo[
  92. echo CD GAMES
  93. echo[
  94. pause
  95. cls
  96. echo BASIC DOS COMMANDS
  97. echo -------------------
  98. echo BEFORE floppy disks can be used with a PC they have to be specially prepared,
  99. echo this is called formatting. You format a disk by typing FORMAT at the Dos
  100. echo prompt followed by the drive letter, like this:
  101. echo[
  102. echo FORMAT A:
  103. echo[
  104. echo or:
  105. echo[
  106. echo FORMAT B:
  107. echo[
  108. echo Never use C:, only A: or B:. You can copy Dos to the disk so you can boot up
  109. echo from it by adding a /S to the line, like this:
  110. echo[
  111. echo FORMAT A: /S
  112. echo[
  113. echo This then often called a system disk. You can copy files from one disk to
  114. echo another, such as from C to A using the COPY command. Suppose you wanted to
  115. echo copy LETTER.TXT, assuming that you're on drive C, you would type:
  116. echo[
  117. echo COPY LETTER.TXT A:
  118. echo[
  119. pause
  120. cls
  121. echo If the letter was on drive B and you wanted it on drive A, you would type:
  122. echo[
  123. echo COPY B:\LETTER.TXT A:
  124. echo[
  125. echo And if the letter was stored in the DATA directory on drive B and you wanted
  126. echo to copy it to drive A and call it MYLETTER.DOC, you would type:
  127. echo[
  128. echo COPY B:\DATA\LETTER.TXT A:\MYLETTER.DOC
  129. echo[
  130. echo A special form of the command is:
  131. echo[
  132. echo COPY A:\*.* C:\
  133. echo[
  134. echo The *.* means every file, so the line above would copy every file on drive A
  135. echo (actually the root directory), to drive C.
  136. echo[
  137. echo Text files often end .TXT or .DOC. You can often display these on the screen
  138. echo with the TYPE command. It's best used with MORE which pauses after each
  139. echo screenful of text. So, if there's a text file called README.TXT, you could
  140. echo read it onscreen by typing:
  141. echo[
  142. echo TYPE README.TXT
  143. echo[
  144. pause
  145. cls
  146. echo To delete a file you use the DEL command followed by the filename. If you
  147. echo wanted to delete LETTER.TXT, you would type:
  148. echo[
  149. echo DEL LETTER.TXT
  150. echo[
  151. echo Remember that LETTER.TXT might be stored in a directory, and if that's the
  152. echo case, you would have to change to that directory. Instead of a name you could
  153. echo put *.* and this means every file. It's a dangerous command, but if you really
  154. echo do want to delete everything in the current directory, type:
  155. echo[
  156. echo DEL *.*
  157. echo[
  158. echo Because it's so dangerous, you are asked if you are sure you want to do this.
  159. echo Type Y if you are, otherwise N to stop immediately.
  160. echo[
  161. goto exit
  162. :help2
  163. echo What to do if the programs on this disk don't work
  164. echo ===================================================
  165. echo[
  166. echo DISK SPACE
  167. echo -----------------------------------------------------------------------------
  168. echo All the programs on this disk have been thoroughly tested on a variety of
  169. echo different PCs, but for one reason or another, they may not work on your
  170. echo computer.
  171. echo[
  172. echo One reason is lack of space. When extracted from their highly compressed
  173. echo archives the programs on this disk can occupy as much as 4Mb of disk space.
  174. echo Before extracting the programs make sure you have sufficient disk space by
  175. echo typing at the Dos prompt:
  176. echo[
  177. echo CHKDSK C: /F
  178. echo[
  179. echo The /F parameter will ensure any errors on your hard disk are fixed. One point
  180. echo to bear in mind is that SuperStor, Stacker and other disk compression
  181. echo utilities fool CHKDSK into reporting more free space than there really is. For
  182. echo instance, they may say you have 5Mb free when, in fact, you have only 1Mb.
  183. echo[
  184. PAUSE
  185. CLS
  186. echo If you don't have a hard disk drive, just twin floppies, format a system disk
  187. echo with:
  188. echo[
  189. echo FORMAT A: /S
  190. echo[
  191. echo and switch on your PC with that in drive A (don't worry about being asked for
  192. echo the time or date). Put the MegaDisk in drive B, change to drive B with:
  193. echo[
  194. echo B:
  195. echo[
  196. echo and run this menu program again. Many programs require a hard disk drive as
  197. echo they are very big, but some programs are small enough to run from floppy
  198. echo disks, even low density 5.25in ones.
  199. echo[
  200. PAUSE
  201. CLS
  202. echo MEMORY
  203. echo ------------------------------------------------------------------------------
  204. echo Some programs need a lot of free memory. Even though you may have a PC with
  205. echo 4Mb or more, the amount free for Dos programs is less than 640k (0.64Mb). It's
  206. echo all to do with the way the PC was designed many years ago.
  207. echo[
  208. echo You may need to change AUTOEXEC.BAT and CONFIG.SYS to take out all unnecessary
  209. echo drivers, TSRs and other stuff which generally bungs up the memory. First copy
  210. echo these two files to somewhere safe, like this:
  211. echo[
  212. echo COPY AUTOEXEC.BAT AUTOEXEC.TMP
  213. echo COPY CONFIG.SYS CONFIG.TMP
  214. echo[
  215. echo Now run a text editor like MS-DOS 5's EDIT and load each file in turn. Delete
  216. echo any lines which aren't important then save them. Reboot the PC. Generally
  217. echo speaking, most lines can be removed, however, don't take out any lines to do
  218. echo with disk compression, such as a SuperStor driver.
  219. echo[
  220. PAUSE
  221. CLS
  222. echo With MS-DOS 5 and 6 Dos can be loaded high and drivers and TSRs can be put in
  223. echo upper memory. To use these facilities make these three lines the first three
  224. echo in CONFIG.SYS:
  225. echo[
  226. echo DEVICE=C:\DOS\HIMEM.SYS
  227. echo DEVICE=C:\DOS\EMM386.EXE NOEMS
  228. echo DOS=HIGH,UMB
  229. echo[
  230. echo Now replace any DEVICE= commands in CONFIG.SYS with DEVICEHIGH= and if any
  231. echo TSRs are loaded in AUTOEXEC.BAT, add an LH followed by a space to the start of
  232. echo the line, like this to load a mouse driver:
  233. echo[
  234. echo LH C:\MOUSE.COM
  235. echo[
  236. echo While on the subject of mouse drivers, make sure your is up to date, otherwise
  237. echo some software won't work properly. Unless the software specifically says don't
  238. echo load a mouse driver, it's a good idea to try it with the driver loaded. Many
  239. echo programs benefit from mouse control.
  240. echo[
  241. PAUSE
  242. CLS
  243. echo Some programs - mainly games - require expanded memory. You can simulate this
  244. echo on 386/486 PCs by changing the EMM386.EXE or EMM386.SYS line in CONFIG.SYS. If
  245. echo you want 512k of EMS memory change the line to this:
  246. echo[
  247. echo DEVICE=C:\DOS\EMM386.EXE 512
  248. echo[
  249. echo If you can't get the memory management right, format a system disk in drive A
  250. echo with:
  251. echo[
  252. echo FORMAT A: /S
  253. echo[
  254. echo and reboot the PC.
  255. echo[
  256. echo Some programs, like databases and contact managers, need the BUFFERS and FILES
  257. echo settings changed. You'll need to edit CONFIG.SYS and either change the
  258. echo existing lines or add new ones if they aren't there. These settings should be
  259. echo sufficient:
  260. echo[
  261. echo BUFFERS=40
  262. echo FILES=49
  263. echo[
  264. echo You'll need to reboot for these changes to take effect.
  265. echo[
  266. PAUSE
  267. CLS
  268. echo After fiddling about with CONFIG.SYS AND AUTOEXEC.BAT you may want to restore
  269. echo things as they were before. This is easy if you made a backup:
  270. echo[
  271. echo COPY AUTOEXEC.TMP AUTOEXEC.BAT
  272. echo COPY CONFIG.TMP CONFIG.SYS
  273. echo[
  274. echo[
  275. echo INSTALLATION
  276. echo ------------------------------------------------------------------------------
  277. echo Some programs can be run as soon as they have been extracted from their
  278. echo archives on this disk. Others may need further installation. You'll be told in
  279. echo the instructions what's required. Look for a file called INSTALL and run it if
  280. echo necessary.
  281. echo[
  282. echo Windows programs nearly always need further installation. You should run
  283. echo Windows and then click on Run on the File menu. Type in the drive, directory
  284. echo and filename of the program to run - usually SETUP.EXE or INSTALL.EXE.
  285. echo Alternatively, click on the Browse button and use the file selector to locate
  286. echo the file.
  287. echo[
  288. PAUSE
  289. CLS
  290. echo You will sometimes need to install the program icon into a group window on the
  291. echo desktop. Click on File,New,Program Item,OK,Browse and then use the file
  292. echo selector to find the file. Double click on it then on OK to get back to the
  293. echo desktop. You should then see the program icon.
  294. echo[
  295. echo[
  296. echo VIRUSES
  297. echo ------------------------------------------------------------------------------
  298. echo This disk has been thoroughly tested at all stages of production for all known
  299. echo viruses. Dr Solomon's Anti Virus Toolkit, Norton Anti Virus, McAfee Anti Virus
  300. echo Utilities and Microsoft Anti Virus are always used. It has been passed as
  301. echo clear by all of them. However, putting this disk in a PC that is already
  302. echo infected with a virus will infect this disk too.
  303. echo[
  304. pause
  305. cls
  306. echo DOCUMENTATION
  307. echo ------------------------------------------------------------------------------
  308. echo Many programs come with large manuals which contain detailed instructions,
  309. echo tutorials and troubleshooting guides. They are often essential if you are
  310. echo using these programs for any serious application. A small charge is normally
  311. echo made for printed documentation. See the magazine for manual offers.
  312. echo[
  313. echo[
  314. echo IF ALL ELSE FAILS
  315. echo ----------------------------------------------------------------------------
  316. echo If you really can't get the software working, ring our technical support
  317. echo hotline on 0625 858084 and we'll do our best to help.
  318. echo[
  319. GOTO exit
  320. :help3
  321. echo HOW TO GET MANUALS AND UPGRADES
  322. echo ================================
  323. echo[
  324. echo[
  325. echo Public Domain
  326. echo --------------
  327. echo There are different type of programs on this disk. Some will be public domain
  328. echo - these are free and you don't have to pay for them. You can copy them and
  329. echo pass on the copies to friends. There is nearly always a text file, sometimes
  330. echo called README.TXT or just READ.ME, which gives the programmer's name and
  331. echo address. Write to him for the latest version.
  332. echo[
  333. PAUSE
  334. CLS
  335. echo Shareware
  336. echo ----------
  337. echo Some programs are shareware. They are free for a short period of time, usually
  338. echo about a month. If you like the program and intend to carry on using it after a
  339. echo month, then you must pay for it. This usually takes the form of a registration
  340. echo fee, which also entitles you to the latest version and sometimes, a printed
  341. echo manual. There is nearly often a text file, sometimes called README.TXT or just
  342. echo READ.ME, which gives the programmer's name and address. There may be a file
  343. echo called ORDER.FRM which you can print out and fill in. Use it to order the
  344. echo latest version or manual or whatever is being offered. Feel free to copy and
  345. echo pass on the program
  346. echo[
  347. PAUSE
  348. CLS
  349. echo Commercial
  350. echo -----------
  351. echo The third type of program is a commercial package - either the full program or
  352. echo a special demonstration version. This is copyright and you must not pass on
  353. echo copies to friends or sell it. The full package is normally sold with one or
  354. echo more manuals, which are sometimes quite large. It's often essential to get the
  355. echo documentation as it contains full instructions describing how to use the
  356. echo program.
  357. echo[
  358. echo If you have a demonstration version, or a full package that isn't the latest
  359. echo version on offer, you can usually upgrade and buy the latest version complete
  360. echo with manuals, tutorials and other printed material. We negotiate special
  361. echo discounts on your behalf and our prices are among the lowest.
  362. echo[
  363. echo There may be a coupon in the disk tutorial pages of the magazine that you can
  364. echo cut out, fill in and send off. However, if you want to pay by credit card we
  365. echo can upgrade many products for you.
  366. echo[
  367. echo Simply call Europress Direct on 051-357 1275 to upgrade your software to the
  368. echo latest version or get the manual.
  369. echo[
  370. :exit
  371. PAUSE
  372. CLS
  373.