home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / progbas / gwbsu106.arj / FILE-MAN.DOC < prev    next >
Encoding:
Text File  |  1992-05-22  |  10.0 KB  |  202 lines

  1.                           NOTES ON FILE-MAN.BAS 1.06
  2.  
  3.                                  Matt Roberts
  4.                                5 Cedar St., # 8
  5.                            Montpelier, Vt 05602-3006
  6.                                  (802)223-2553
  7.  
  8.  
  9.                                    03-19-92
  10. ───────────────────────────────────────────────────────────────────────────────
  11. FILE-MAN is, more or less, a mental exercise.  It does (or will), however, 
  12. have some useful features.  Essentially, it's my attempt at creating a DOS 
  13. shell.  The idea is to have a menu-driven system which can do anything DOS can 
  14. do, but a bit friendlier.  In reality, there are severe limitations at the 
  15. moment.  There are a lot of plans for enhancing the program, and eventually I 
  16. think it'll be quite useful in some ways.  For now, though, I would recommend 
  17. against throwing out your DOS manual.
  18.  
  19. Please feel free to copy and distribute the files on this disk to anyone who 
  20. will have them.  If you find the files useful, a donation of $5.00 would be 
  21. greatly appreciated.  Thanks.
  22.  
  23.  
  24.                          SYSTEM REQUIREMENTS AND NOTES
  25.  
  26. This file manager was written on an Amstrad PC1512.  This system has an 8086 
  27. processor, composite black and white CGA monitor, and 640K RAM plus 2Mb EMS.  
  28. There are two 5.25" 360K floppy drives, one external 3.5" 1.44M drive, and a 
  29. 49Mb hard drive card.  The operating system is MS-DOS 5.00. 
  30.  
  31. At this time, you'll need about 95K to run the file manager.
  32.  
  33. You'll also need GW-BASIC.  The file manager was written with GW-BASIC 3.22 
  34. and, if you want to use that, you'll want MS- or PC-DOS 3.20 or higher.  
  35. However, it's quite possible that FILE-MAN will run on lower versions of 
  36. BASICA/GW-BASIC, in which case you can probably get by with a lower version of 
  37. DOS. 
  38.  
  39.  
  40.                               RUNNING THE PROGRAM
  41.  
  42. First, you get an intro screen.  You press any key to continue.  Now you're at 
  43. the menu.  You'll press the number corresponding to your choice, and press 
  44. Enter (Return).  You are now on your way.  Are you excited as I am?
  45.  
  46.  
  47.                                  LISTING FILES
  48.  
  49. You type in the name of the directory which contains the files and/or 
  50. subdirectories you want to view, and press Enter.  You get a list of the files 
  51. and/or subdirectories, and are invited to fritter away more precious time 
  52. doing it all over again.  Should you accept, you'll get to do the above again; 
  53. elsewise, you'll go back to the menu.
  54.  
  55.  
  56.                             WORKING WITH CONFIG.SYS
  57.  
  58. The first thing you'll want to provide is the drive your CONFIG.SYS file is 
  59. on.  This is handy if you want to experiment without messing up your original.  
  60. You can, for instance, copy CONFIG.SYS to drive B and then mess around with it 
  61. 2
  62. there; you don't have to worry about what happens if you goof.  Should you be 
  63. inclined to be adventurous and mess around with the CONFIG.SYS your computer 
  64. will actually be looking at, the original will be renamed CONFIG.BAS, but only 
  65. if you choose to create a whole new file.  You'll need to type the colon as 
  66. well.  If, for example, your CONFIG.SYS is on drive A, you would type a: (or 
  67. A:).  If you just type "a" or "A" you'll get an error message and the program 
  68. will stop.
  69.  
  70. OK, now you'll be confronted with the following options: Just look at the 
  71. CONFIG.SYS file, add lines to the end of the file, create a whole new mess, or 
  72. quit and return to the main menu.
  73.  
  74. If you choose to look at the file, it'll appear on your screen.  You press a 
  75. key, and return to the four options.  Try to stay awake.
  76.  
  77. Adding lines to the end of your file is just about as exciting.  You're 
  78. prompted for the line to add.  When you've added all the lines you want, press 
  79. q (or Q) and Enter to return to the four options.
  80.  
  81. Creating a new file, on the other foot, is a bit more involved.  Your original 
  82. is saved as CONFIG.BAS, and you are informed of the deed.  Please don't delete 
  83. CONFIG.BAS until you've tested your new CONFIG.SYS for at least a week, since 
  84. little problems like not having enough files or buffers specified may not 
  85. surface for a while, but can cause a real hassle.  If you have your original, 
  86. you can look at the differences, and possibly see what you need to change.  
  87. Without it, you'll have no recourse but to open your DOS manual, which I 
  88. advise against except as a last resort.
  89.  
  90. Anyway, you'll be prompted for how many files you want, and then how many 
  91. buffers.  Next, FILE-MAN will look at the root directory of the drive you 
  92. specified, and try to list any .SYS files it runs into.  Next, you'll be asked 
  93. which devices you want.  If you want none, type n (or N).  Otherwise, type in 
  94. the name of the device driver you want included.  You're then asked if you 
  95. want to include more devices.  If you want to, type Y (or y) otherwise type n 
  96. (or N).  I haven't included any limits for the number of devices you can 
  97. include; as far as I know, you can keep on until your little fingers wear out.
  98.  
  99. Once you're done with the device drivers, though, you'll be asked if you want 
  100. BREAK on or off.  BREAK controls how often DOS looks to see if Ctrl-Break or 
  101. Ctrl-C have been pressed.  Having it on makes it easier to leave a program if 
  102. you want to, but probably slows down the operation of the system by a bit.
  103.  
  104. At this point, you have a new CONFIG.SYS file.  You now get to decide whether 
  105. to keep it, start over with a new file, or restore your old file.  You'll 
  106. press C, R, or OK to make your decision, and then press Enter.
  107.  
  108.  
  109.                            WORKING WITH AUTOEXEC.BAT
  110.  
  111. This option runs just about the same as the option for working with 
  112. CONFIG.SYS, so I'm not going to get into it here.  If you have trouble with 
  113. it, and wish one of your questions was answered in this section, let me know 
  114. and I'll do what I can.  You can also call, just like it says in the program, 
  115. and I'll try to help you out on an immediate basis.
  116.  
  117.  
  118.                                 DELETING FILES
  119.  
  120. You're first warned about the difficulty of undeleting files, and of my 
  121. inability to help you undelete.  You then get to quit or continue.  Should you 
  122. 3
  123. continue, you type in the name (including drive and path) of the file you want 
  124. destroyed.  You are warned again (ain't I the little fussbudget?) and given 
  125. yet another opportunity to back out.  If you're the brave sort, the file is 
  126. erased, and you are given the opportunity to make the same mistake twice.
  127.  
  128.  
  129.                               MAKING A DIRECTORY
  130.  
  131. Here you get to type in the name of the directory you want created, including 
  132. drive and path if any.  The deed is done, you're invited to do it again, and 
  133. that's all there is to it.
  134.  
  135.  
  136.                              REMOVING A DIRECTORY
  137.  
  138. Removing a directory, on the other hand, is a bit more involved.  After you've 
  139. typed in the name of the directory you want to get rid of, you're given a look 
  140. at what's in that directory.  You then get the options of deleting any files 
  141. that might be in the directory, remove any subdirectories that might also be 
  142. in there, or continuing.  If you continue, FILE-MAN tries to remove the 
  143. directory you've specified.  If it can't, there are probably either files or 
  144. subdirectories you haven't gotten rid of yet.  Because I haven't yet written 
  145. the error-handling routines, the program will throw up its hands and you'll 
  146. have to type RUN again to get back into things.  Sorry about any inconvenience 
  147. that may cause, and I'll have those routines written soon.
  148.  
  149.  
  150.                                 RENAMING FILES
  151.  
  152. You type in the name of the file you want to rename.  You type in the new name 
  153. for the file.  You avoid specifying a different disk drive than the one you 
  154. started with.  You get the chance to do it again.  You are getting very 
  155. sleepy.....
  156.  
  157.  
  158.                              VIEWING FILE CONTENTS
  159.  
  160. This option is useless for anything but text files.  You type in the name of 
  161. the file you want displayed, and told to press Ctrl-NumLock to pause the 
  162. display.  You can't, unfortunately, scroll backward at this time.  
  163. Essentially, you're just dealing with the GW-BASIC version of the DOS TYPE 
  164. command, although I may add some minor enhancements at some point.
  165.  
  166.  
  167.                                 COPYING A FILE
  168.  
  169. Again, you can only copy text files.  Also, the date and time are changed to 
  170. reflect when you copied it.  Otherwise, everything should go smoothly.  Type 
  171. in the name of the file you want copied, then the destination, then sit back 
  172. and wait.  The copying process is slower than with the DOS COPY command, but 
  173. not so much slower that you'll have the time to make that cup of coffee you so 
  174. desperately need.
  175.  
  176.                          GETTING THE LENGTH OF A FILE
  177.  
  178. This one is quite simple.  You type in the name of the file, including the 
  179. drive and path as usual, and FILE-MAN tells you how many bytes the file 
  180. contains.
  181.  
  182.  
  183. 4
  184.                                  IN CONCLUSION
  185.  
  186. That about covers what I've done so far, but it's by no means the end of this 
  187. program.  I've got about a ton of stuff to do, so you might want to check in 
  188. on this file from time to time to see if I've included anything you might be 
  189. able to make use of.  If there's an option you'd like to see, give me a 
  190. holler.  I can't guarantee I have the skill to do anything about your request, 
  191. but I'll certainly do what I can.  If I can't write the necessary code, I'll 
  192. see if I know of any shareware or public domain utilities that'll do what you 
  193. need.  One way or another, I'll get back to you.
  194.  
  195. I'm constantly running into glitches in my programs that I could have sworn 
  196. weren't there the last time I worked on them.  Since I haven't seen any 
  197. evidence of Gremlins, I'm assuming you'll run into a few from time to time as 
  198. well.  If you do, let me know about them.  If there's anything I can do about 
  199. them, I'll do it.  You can't possibly offend me by pointing out the 
  200. shortcomings in my work.  I can't improve my programs unless I know what's 
  201. wrong with them, so please help me squash bugs!  Thanks.
  202.