home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / HARDDISK / MDM13.ZIP / MDM.DOC next >
Encoding:
Text File  |  1988-09-10  |  15.6 KB  |  398 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.                                    M.D.M
  29.                                 Version 1.3
  30.                        Copyright 1988 by Brent Barrett
  31.  
  32.                              TABLE OF CONTENTS
  33.  
  34. Section  Title                                                     Page
  35.    I     What is MDM?................................................1
  36.   II     Getting started: Executing MDM..............................2
  37.  III     Moving around your system: Files and directories............4
  38.   IV     Doing things: Single file operations........................5
  39.    V     Doing things faster: Multiple file operations...............6
  40.   VI     Making and removing directories.............................7
  41.  VII     Special tricks: The "extra" commands........................8
  42. VIII     Special notes: Strange things about MDM.....................10
  43.  
  44. MDM Version 1.3 Operations Manual__________________________________Page 1
  45.  
  46. Section I: WHAT IS MDM?
  47.  
  48.     MDM is a front-end for DOS.  With MDM, you can move about your
  49. system drives and directories, execute programs, rename, copy or
  50. delete files without ever seeing a DOS prompt.  But if every now
  51. and then you find the need to execute commands from the DOS prompt,
  52. well, you can do that too.
  53.  
  54.     MDM sprang from a desire to have available a high-quality DOS
  55. front-end program without the large price tag usually associated
  56. with such programs.  I wrote MDM to suit my needs, and I think
  57. you'll find it to your liking as well.  If you find anything
  58. lacking, I'd really like to hear from you. You can contact me
  59. three ways:
  60.  
  61.     GEnie:
  62.         Address B.K.BARRETT
  63.  
  64.     My BBS:
  65.         ATKeep
  66.         916 726 4989
  67.         300/1200/2400 bps
  68.         8-N-1
  69.  
  70.     By Mail:
  71.         Brent Barrett
  72.         P.O. Box 2987
  73.         Citrus Heights, CA 95611-2987
  74.  
  75.     MDM requires about 90k free to run, and will occupy 96k if you
  76. drop into a DOS shell.
  77.  
  78.     As it turns out, I'm a computer science student in this area, and
  79. try to do some programming on the side for school expenses.  I won't beat
  80. around the bush, though: If you find this program useful, a contribution
  81. to help me cover my schooling expenses would be greatly appreciated.
  82. Any amount ($10-$20 being the norm) can be sent to me at the above P.O.
  83. Box address.
  84.  
  85.     MDM can be freely distributed by any legal means as long as it is
  86. left in its unmodified form and all files included in this ARChive
  87. are kept as they were.
  88.  
  89.     Acknowledgments:
  90.     I'd like to thank Charles Meadows for his beta-testing and ideas.
  91.  
  92. MDM Version 1.3 Operations Manual__________________________________Page 2
  93.  
  94. Section II: GETTING STARTED: EXECUTING MDM
  95.  
  96.     Getting MDM running is rather simple. From the DOS prompt (or in
  97. your AUTOEXEC.BAT file), type:
  98.  
  99.     mdm<ENTER>
  100.  
  101.     MDM can also be called with certain options specified on the command
  102. line.  Following is a list of options and their meaning:
  103.  
  104.     /S             Sort files by name (the default)
  105.     /N             Do not sort files
  106.     /D<pathname>   Start MDM at specified <pathname>
  107.     /E<filename>   Start MDM and execute <filename> as shell
  108.     /C             Start MDM and then drop to a DOS shell
  109.     /M<filemask>   Start MDM with specified <filemask>
  110.     /O             Do not load READ ONLY or HIDDEN or SYSTEM files
  111.     /? or /H       A listing of these command switches
  112.  
  113.     NOTE: The "-" switch can be substituted for the "/" switch.  More
  114. than one option may be used at a time, i.e. C>mdm /N /O /M*.EXE is a
  115. valid call to MDM.
  116.  
  117.     You will see a small window appear in the center of your screen
  118. identifying MDM and informing you that MDM is reading the current
  119. directory information.  This box will be shown every time MDM has to
  120. "re-load" the directory information (usually only when changing drives
  121. or directories).
  122.  
  123. MDM Version 1.3 Operations Manual__________________________________Page 3
  124.  
  125.     The main screen will then appear:
  126.  
  127. MDM 1.1 Copyright 1988 by Brent Barrett              Aug 04, 1988   4:55
  128. ──────────────────────────────────────────────────────────────────────────
  129. C:\LANG\TC\MDM\*.*                                       rhsDa  00000000
  130. ┌───────────────────────┬─────────────────────────┬──────────────────────┐
  131. │▓..▓▓▓▓▓▓▓▓▓▓▓▓▓<DIR>▓ │ MDM.EXE           42396 │ MDM10.DOC      12354 │
  132. │ MDM10.ARC       32756 │                         │                      │
  133. │                       │                         │                      │
  134. │                       │                         │                      │
  135. │                       │                         │                      │
  136. │                       │                         │                      │
  137. │                       │                         │                      │
  138. │                       │                         │                      │
  139. │                       │                         │                      │
  140. │                       │                         │                      │
  141. │                       │                         │                      │
  142. │                       │                         │                      │
  143. │                       │                         │                      │
  144. │                       │                         │                      │
  145. └───────────────────────┴─────────────────────────┴──────────────────────┘
  146.  
  147. ──────────────────────────────────────────────────────────────────────────
  148.  
  149. ──────────────────────────────────────────────────────────────────────────
  150.      Tag Untag Copy Delete Erase Rename List View Path Makedir Killdir
  151.  
  152.  
  153.     Pressing F1 will deliver a condensed run-down of all MDM command
  154. keystrokes.
  155.  
  156.     The top line, as well as being the title line, contains an updated
  157. current "date/time" clock.
  158.  
  159.     The next line contains three handy bits of information.  First off
  160. is the current pathname, including drive, directories and file mask.
  161. Next you'll see something which consists of five letters, of mixed case:
  162.  
  163.     rhsda
  164.  
  165.     The "r" indicates the current (or "indexed") file's READ/WRITE status.
  166. If the "r" is lower case, the file is R/W. If the "R" is upper case, the
  167. file is READ ONLY.
  168.  
  169.     The "h" inidcates the indexed file's HIDDEN status. If the "h" is lower
  170. case, the file is not hidden.  If the "H" is upper case, the file is
  171. hidden.
  172.  
  173.     The "s" indicates the indexed files SYSTEM status.  If the "s" is lower
  174. case, the file is a normal, non-system file.  If the "S" is upper case,
  175. the file is a SYSTEM file.
  176.  
  177.     The "d" displays lower case on files and upper case on directories.
  178.  
  179.     Finally, the "a" is the archive bit status.  On non-archived (non-
  180. backed-up) files, the "A" will be upper case.  It will be lower case on
  181. files whose archive bit has been set by a back-up program.
  182.  
  183.     Also on the second line is a group of eight zeros (00000000).  This
  184. is the running "bytes in marked files" total.  You'll learn more about
  185. marked files in section IV.
  186.  
  187. MDM Version 1.3 Operations Manual__________________________________Page 4
  188.  
  189. Section III: MOVING AROUND YOUR SYSTEM: FILES AND DIRECTORIES
  190.  
  191.     The cursor keypad will allow you to move the "highlight" bar from file
  192. to file in the current directory.  The arrow keys move one position in
  193. their respective direction, scrolling around to another line when
  194. boundaries are met.  If there are more than 42 files in your current
  195. directory, PGDN and PGUP can be used to toggle to different sets of
  196. files.  Finally, the HOME key will always take you to the first file
  197. in your directory (which is the "mother" directory in all sub-directories
  198. and some other valid entry in the root).
  199.  
  200.     If you wish to move to a directory off of the current one, simply
  201. move the cursor bar to highlight the directory and press the ENTER key.
  202. This also works on the "mother" directory entry (indicated by ".." in
  203. MDM).  If you want to move quickly to another drive or directory
  204. branch, then pressing the [P] key will prompt you for a new pathname.
  205. You may include drive and/or directory path here, but not a file mask.
  206.  
  207.     Valid pathnames would be:
  208.  
  209.     A:
  210.     A:\
  211.     \DOS
  212.     C:
  213.     C:\LANG\TC
  214.     D:UTIL
  215.  
  216.     If the indexed file is an EXE or COM file, pressing the ENTER key
  217. will execute that file.  If the file under the cursor has an extension
  218. of either ".ARC" or ".ARK," MDM will display a listing of files found
  219. inside the ARChive.  Otherwise, pressing the ENTER key on a file will
  220. display that file as if it were a textfile.
  221.  
  222. MDM Version 1.3 Operations Manual__________________________________Page 5
  223.  
  224. Section IV: DOING THINGS: SINGLE FILE OPERATIONS
  225.  
  226.     While indexing a file, pressing various command keys can perform some
  227. useful functions.
  228.  
  229.     The [C] key will prompt you for a pathname and/or filename to copy
  230. the indexed file to.  Type in the destination JUST as you would with
  231. the DOS COPY command (see your DOS manual).
  232.  
  233.     The [R] key will rename the indexed file. You will be prompted for
  234. a new name or pathname.  If you specify a new pathname, the file
  235. will be "moved" to that directory and removed from the current directory.
  236.  
  237.     The [E] key and the [D] key will both ask you to verify a deletion
  238. of the indexed file.  If you say "Y"es, the file will be deleted from
  239. the current directory.
  240.  
  241.     The [L] key will list the indexed file.  Be sure it is a textfile,
  242. or you will get garbage (but it won't harm MDM).
  243.  
  244.     The [V] key can be used to do a HEX/ASCII dump of the indexed file.
  245. This is the way to view binary files, but any type of file can be viewed
  246. this way.
  247.  
  248. MDM Version 1.3 Operations Manual__________________________________Page 6
  249.  
  250. Section V: DOING THINGS FASTER: MULTIPLE FILE OPERATIONS
  251.  
  252.     You can do most of the functions described in section IV on more
  253. than one file at a time by using file "tags."  File tags tell MDM
  254. which files you want to do various functions to.
  255.  
  256.     You tag a file by using either the [T] key or the [+] key (white
  257. or gray).  You may also un-tag a file by  using the [U] or [-] keys
  258. (white or gray).
  259.  
  260.     A "new" file tag appears as a ">" greater than sign in front
  261. of a file, and the total bytes in tagged files counter in the
  262. upper-right-hand corner of the screen is updated.  An untagged
  263. file appears to have nothing in front of it, and if it was
  264. previously tagged, the total is again updated to reflect the new
  265. total of bytes in tagged files.  Later you will read mention of
  266. an "old-tag."  For now, let us just say an old tag appears as
  267. a "-" minus sign in front of a file.
  268.  
  269.     The [C] copy function works just like it did for a single file,
  270. except it will copy all marked files to the destination (you should
  271. not specify a file name, because if you do, all files will be written
  272. to that file and all but the last will be over-written).  If MDM
  273. should happen to encounter an error on the copy (e.g. the disk becomes
  274. full), it will stop the mass copy operation and return control to you.
  275. After a copy operation, MDM will place what are called "old-tags" on
  276. each of the files successfully copied.  If an error occurs, all
  277. files that have yet to be copied will still be tagged as new.
  278.  
  279.     The [R] rename function will now ask only for a new pathname to
  280. move all of the tagged files.
  281.  
  282.     The [D] delete file command will still operate only on single
  283. files, but the [E] erase command will erase all of the tagged files
  284. for you.
  285.  
  286. MDM Version 1.3 Operations Manual__________________________________Page 7
  287.  
  288. Section VI: MAKING AND REMOVING DIRECTORIES
  289.  
  290.     By using the [M] key command, you can "make" sub-directories, just
  291. as if you had used the DOS "md" command.  You can specify a full pathname
  292. and new subdirectory name when prompted, or just the new subdirectory
  293. name to be created as a child of the current directory.
  294.  
  295.     The [K] key will "kill" a directory, or "remove" it just as if you
  296. had used the DOS "rd" command.  Again, you may specify a full path
  297. and directory, or just the directory name if it is a child of the
  298. current directory.  Be sure the directory is empty, or you will
  299. receive an ERROR message from MDM and the directory will not be removed.
  300.  
  301. MDM Version 1.3 Operations Manual__________________________________Page 8
  302.  
  303. Section VII: SPECIAL TRICKS: THE "EXTRA" COMMANDS
  304.  
  305.     All ten function keys are active, and may be used at any time. Here
  306. is a run-down of their operations:
  307.  
  308.     F1
  309.         This is the HELP key and will display a brief listing of all
  310.         valid commands.
  311.  
  312.     F2
  313.         Using this key will force MDM to re-load the current directory,
  314.         which will cause all tagged files to be reset.
  315.  
  316.     F3
  317.         This key will give you space and drive information for any
  318.         valid drive in your system.  Simply press the drive letter
  319.         after the F3 key.
  320.  
  321.     F4
  322.         You can enter a new file "mask" with this key.  The file mask
  323.         can be any valid filename or wildcard.  "*.*" is the default
  324.         when MDM is executed (unless changed by the /M option, see
  325.         section II).
  326.  
  327.     F5
  328.         This key will allow you to toggle the HIDDEN/VISIBLE status
  329.         of the indexed file.
  330.  
  331.     F6
  332.         The READ ONLY and READ/WRITE attributes of the indexed file
  333.         can be toggled by use of this key.
  334.  
  335.     F7
  336.         This key will TAG all files in the current directory.
  337.  
  338.     F8
  339.         This key will un-TAG all files in the current directory.
  340.  
  341.     F9
  342.         All "old-tagged" files can be re-tagged with the use of this
  343.         key.
  344.  
  345.     F10
  346.         Every file that has no tag (not even an old tag) will be tagged
  347.         for mass operations if this key is used.  Remember, old tags will
  348.         stay old tags even with the use of this command, and will not be
  349.         included in any subsequent mass operations.
  350.  
  351. MDM Version 1.3 Operations Manual__________________________________Page 9
  352.  
  353.     Other keys play an active role in MDM as well. Here's a listing:
  354.  
  355.     ESC
  356.         Pressing the ESCAPE key will exit MDM in the directory from which
  357.         it started, returning the environment to its original state upon
  358.         entering MDM.
  359.  
  360.     CTRL-ESC
  361.         The CTRL-ESC combination will exit from MDM into the current
  362.         directory, but otherwise return the environment to its
  363.         original state.
  364.  
  365.     ALT-S
  366.         This command will drop you into a DOS shell.  Typing "EXIT" from
  367.         the DOS prompt will bring you back to MDM in exactly the same
  368.         directory and place you left it.
  369.  
  370.     SPACE BAR
  371.         This activates "DOS" mode.  In DOS mode, you may enter any valid
  372.         DOS command line, and it will be executed as if you had entered
  373.         the command from the DOS prompt itself.  Entering a blank line
  374.         at any prompt will return you to MDM.
  375.  
  376. MDM Version 1.3 Operations Manual__________________________________Page 10
  377.  
  378. SPECIAL NOTES: STRANGE THINGS ABOUT MDM
  379.  
  380.     MDM has only been tested on an IBM and Clone CGA system and a clone
  381. EGA system operating at 25 x 80 screen size.  I do not know how MDM will
  382. react under a larger screen size (with EGA and VGA), but if it turns out
  383. to not like the larger screen environment, please drop me a line and I
  384. will look into making it do so.
  385.  
  386.     I have also tested MDM on a Hercules Graphics system and, although
  387. it didn't behave exactly as I predicted, it still functioned properly.
  388. Hercules (and possibly other monochrome) users will notice differences
  389. only in the way MDM looks, not the way it behaves.  For instance, the
  390. indexed file will most likely be underlined, not highlighted.
  391.  
  392.     If you use MDM under any other conditions, and it works (or even
  393. doesn't work), I'd really appreciate hearing about it.  Again, if you
  394. encounter any problems, please leave me a note and I will move quickly
  395. to fix it.
  396.  
  397. END OF DOCUMENTATION
  398.