home *** CD-ROM | disk | FTP | other *** search
/ Phoenix CD 2.0 / Phoenix_CD.cdr / 01e / mk17b.zip / MK.DOC < prev    next >
Text File  |  1987-03-02  |  93KB  |  2,624 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.              YES!   I find The Master Key Utilities useful and I want  to 
  8.         register my copy.
  9.  
  10.              I  understand that by registering,  I will recieve a program 
  11.         disk  containing a legitimate copy of The Master  Key  Utilities, 
  12.         complete   documentation  ready  for  printing,   and   published 
  13.         announcements of future released of The Master Key Utilities.
  14.  
  15.              I  also  understand that as a registered user of The  Master 
  16.         Key  Utilities,  I  will ALWAYS be able to upgrade  to  the  most 
  17.         recent  version of The Master Key Utilities FREE OF CHARGE!   All 
  18.         that I need to do to recieve the most recent version is send  the 
  19.         original  master disk in a self addressed,  postage paid diskette 
  20.         mailer to R.  P.  Gage,  and I will be returned the latest of The 
  21.         Master Key Utilities!
  22.  
  23.  
  24.         -----------------------------------------------------------------
  25.         The registration fee for The Master Key Utilities is $20.00.
  26.  
  27.                Send me __ copy/copies at $20.00 each.  Total ____________
  28.  
  29.  
  30.                     Name:___________________________________
  31.  
  32.                     Address:________________________________
  33.  
  34.                     City:____________________ State:________
  35.  
  36.                     Zip Code:________________
  37.  
  38.                     Telephone:_______________
  39.  
  40.  
  41.  
  42.         Send cash or check to...
  43.  
  44.                                R. P. Gage
  45.                                1125 6th St. N. #43
  46.                                Columbus, MS  39701
  47.         -----------------------------------------------------------------
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.                       
  78.                            ---------------------------
  79.                             The Master Key Utilities
  80.                             User's Guide To Operation
  81.                                   Version 1.7b
  82.                            ---------------------------
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.                                R. P. Gage
  107.                                1125 6th St. N. #43
  108.                                Columbus, MS  39701
  109.  
  110.                                   March 1, 1987
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.             Copyright (c) 1987 by R. P. Gage, all rights reserved.
  123.  
  124.  
  125.  
  126.                     The Master Key Utilities -- Version 1.7b
  127.  
  128.              Copyright (c) 1987 by R. P. Gage, all rights reserved.
  129.  
  130.  
  131.              Disclaimer of Warranties and Limitation of Liabilities
  132.  
  133.  
  134.              The  Master  Key  Utilities consist of  the  programs  named 
  135.         Master Key, Fill Disk, Un Format, and Zero File.
  136.  
  137.              The Master Key Utilities and this documentation are  distri-
  138.         buted without any express or implied warranties.   No warranty of 
  139.         fitness for a particular purpose is offered.   You, the user, are 
  140.         advised  to experiment and become familiar with all of The Master 
  141.         Key  Utilities programs before relying on them.   You assume  all 
  142.         risk  for  the use and operation of these  programs.   You  alone 
  143.         shall be responsible for any loss of profits, loss of savings, or 
  144.         other  incidental  or consequential damages arising  out  of  the 
  145.         correct  or incorrect use of these programs,  even if I have been 
  146.         advised of the possibility of any damages.  I do not warrant that 
  147.         this  documentation is accurate,  or that any of The  Master  Key 
  148.         Utilities  programs (Master Key,  Fill Disk,  Un Format,  or Zero 
  149.         File)  operates  as I have claimed or as I have  designed  it  to 
  150.         operate.  
  151.  
  152.              By  using any of The Master Key Utilities programs you agree 
  153.         to the above limitations.
  154.  
  155.  
  156.              DESQview is a trademark of Quarterdeck Office Systems.
  157.  
  158.              IBM,  TopView,  and  PC-DOS are trademarks of  International 
  159.         Business Machines Corporation.
  160.  
  161.              MS-DOS  and  Microsoft Windows are trademarks  of  Microsoft 
  162.         Corporation.
  163.  
  164.              TURBO Pascal is a trademark of Borland International, Inc.
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.                     The Master Key Utilities -- Version 1.7b
  188.  
  189.              Copyright (c) 1987 by R. P. Gage, all rights reserved.
  190.  
  191.  
  192.                         Shareware Registration Agreement
  193.  
  194.  
  195.              The  Master  Key Utilities are supported by you,  the  users 
  196.         that find the programs productive!  If you have benefited in some 
  197.         way  from The Master Key Utilities or make regular use of any  of 
  198.         the programs,  please register your copy for $20.00.   Registered 
  199.         users  will be given a program disk containing a legitimate  copy 
  200.         of  The Master Key Utilities,  documentation ready for  printing, 
  201.         and published announcements of future releases of The Master  Key 
  202.         Utilities.
  203.  
  204.              The registration fee is not an optional matter if The Master 
  205.         Key Utilities are used in a commercial environment,  and must  be 
  206.         paid for each copy of any of The Master Key Utilities maintained.
  207.  
  208.              Unmodified  copies of the The Master Key Utilities  programs 
  209.         and  documentation  files may be made for your own use,  to  give 
  210.         away  without charge to others,  or to distribute within  a  user 
  211.         group.  
  212.  
  213.              User groups may distribute The Master Key Utilities provided 
  214.         they notify me,  in writing,  of their intent to do so.  If a fee 
  215.         must  be charged to copy and distribute The Master Key Utilities, 
  216.         this  fee may not exceed $7.50.   Organizations other  than  user 
  217.         groups  may  not  charge  any fee to distribute  The  Master  Key 
  218.         Utilities.  
  219.  
  220.              The Master Key Utilities may not be distributed commercially 
  221.         or with any commercial product without prior consent.
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.                                 Table Of Contents
  249.  
  250.                                                                     Page
  251.  
  252.              System Requirements ....................................  1
  253.  
  254.              What are The Master Key Utilities, and What Can They Do?  2
  255.  
  256.              Conventions Used .......................................  4
  257.              
  258.              Master Key .............................................  6
  259.  
  260.                   Starting Master Key ...............................  6
  261.  
  262.                   Selecting a File ..................................  8
  263.  
  264.                   ALTER     Modify the attributes of files .......... 10
  265.  
  266.                   CHANGE    Change the current working drive ........ 11
  267.  
  268.                   DISK      View and/or edit the current drive ...... 12
  269.  
  270.                   ERASE     Erase files on the current drive ........ 16
  271.  
  272.                   FILE      View and/or edit a file on the drive .... 17
  273.  
  274.                   INFO      Show information on the current drive ... 18
  275.  
  276.                   LOCATE    Look for matching files on the drive .... 19
  277.  
  278.                   MAP       Show a graphical map of disk usage ...... 20
  279.  
  280.                   RENAME    Rename files on the current drive ....... 21
  281.  
  282.                   UNERASE   Unerase files on the current drive ...... 23
  283.  
  284.                   QUIT      End Master Key and return to DOS ........ 25
  285.  
  286.                   Error Messages .................................... 26
  287.  
  288.                   WARNING ! ......................................... 31
  289.  
  290.              Fill Disk .............................................. 32
  291.  
  292.              Un Format .............................................. 33
  293.  
  294.              Zero File .............................................. 37
  295.  
  296.              Program Notes .......................................... 38
  297.              
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.                                System Requirements
  310.  
  311.  
  312.              To run,  The Master Key Utilities require an IBM PC/XT/AT or 
  313.         true  compatible  computer  running under MS-DOS version  2.0  or 
  314.         later with at least 128K of free memory,  a monitor using a Mono-
  315.         chrome or Color/Graphics display card,  and,  at a  minimum,  one 
  316.         floppy disk drive.
  317.  
  318.              The specific free memory requirements for each program are:
  319.  
  320.              Master Key .......................................... 128k +       
  321.              Un Format ........................................... 128k
  322.              Fill Disk ...........................................  64k
  323.              Zero File ...........................................  64k
  324.  
  325.  
  326.              The  Master Key program makes use of more memory if it has a 
  327.         need for more.   Additional memory is usually required only  when 
  328.         you  are  using  Master Key with a hard disk that  contains  many 
  329.         files and sub-directories.  Usually, it runs without any problems 
  330.         in 128k.
  331.  
  332.              Each  of The Master Key Utilities can work with and use  any 
  333.         MS-DOS disk your system has.   This includes  160k,  180k,  320k, 
  334.         360k,  and 1.2MB floppy drives; hard disks drives; RAM disks; and 
  335.         physical or virtual disk drives accessed by a device driver.
  336.  
  337.              Currently,  The  Master Key Utilities have successfully  run 
  338.         under  the  TopView,  Microsoft Windows,  and DESQview  operating 
  339.         environments.   In all cases, The Master Key Utility programs run 
  340.         in  a  separate  window  allowing  simultaneous  use  with  other 
  341.         programs.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.         The Master Key Utilities, version 1.7b                    Page 1
  367.  
  368.  
  369.  
  370.             What are the Master Key Utilities, and What Can They Do?
  371.  
  372.  
  373.              The  Master Key Utilities are a collection of four  programs 
  374.         designed,  simply put,  to open the doors into your MS-DOS disks. 
  375.         They  give you the flexibility and power to do many  things  with 
  376.         your disks that you previously were unable to do.  These programs 
  377.         are:  Master Key, Fill Disk, Un Format, and Zero File.
  378.  
  379.  
  380.                                    Master Key
  381.  
  382.              Master Key is a disk editor,  a file editor,  a file manipu-
  383.         lator,  and  much  more.   It gives you the ability to work  with 
  384.         individual  files  or the disk as a whole and  lets  you  perform 
  385.         operations that DOS usually isn't able to provide.  Generally, it 
  386.         lets you manipulate everything on your disks easily,  powerfully, 
  387.         and with very few restrictions.
  388.  
  389.              The current version of Master Key,  version 1.7b, is able to 
  390.         provide the following functions:
  391.  
  392.                   Access  ANY  MS-DOS disk available:   any sized  floppy 
  393.              disk,  any sized hard disk (up to 32MB), any sized RAM disk, 
  394.              and  any other physical or virtual disk accessed  through  a 
  395.              device driver; all with any allowable sector size (128, 256, 
  396.              or 512 bytes).  
  397.  
  398.                   Access  ANY file or sub-directory in ANY  sub-directory 
  399.              on  these disks.   The status of a file or sub-directory  is 
  400.              irrelevant.   Master Key can access all Hidden,  System, and 
  401.              Read-Only files with equal ease.
  402.  
  403.                   Edit a disk, on a sector basis, allowing full access in 
  404.              a sequential or random manner to any available sector on the 
  405.              disk.   The  sector number being edited is displayed at  all 
  406.              times.
  407.  
  408.                   Edit any file or sub-directory on the disk, on a sector 
  409.              basis, allowing full access in a sequential or random manner 
  410.              to  any sector in the file or sub-directory.   The  relative 
  411.              sector  number within the file or sub-directory is displayed 
  412.              at all times. 
  413.  
  414.                   Search  for  and go immediately to any text  up  to  32 
  415.              characters long while editing a disk or file.
  416.  
  417.                   Display  a graphical map of total disk usage  and  free 
  418.              space,  as  well as a map of the location of any file on the 
  419.              disk. 
  420.  
  421.                   Change  any  of  the attributes for any  file  or  sub-
  422.              directory on a disk.   This includes R/O, Hidden, System and 
  423.              Archive status as well as the date and time of creation.
  424.  
  425.  
  426.  
  427.         The Master Key Utilities, version 1.7b                    Page 2
  428.  
  429.  
  430.  
  431.                   Find  any  file or sub-directory on a disk matching  an 
  432.              ambiguous or unambiguous file specification.   (ie. *.BAT or 
  433.              WS.COM).
  434.  
  435.                   Rename any file or sub-directory on a disk.
  436.  
  437.                   Erase any file on a disk.
  438.  
  439.                   Unerase  any  file or sub-directory on a disk  that  is 
  440.              able to be unerased.
  441.  
  442.  
  443.                                     Fill Disk
  444.  
  445.              Fill Disk is designed to write any message, up to 128 chara-
  446.         cters in length,  on all of the free sectors on a disk.  It works 
  447.         on all types of disks equally well, but was designed specifically 
  448.         for use with hard disks.   Fill Disk can be used to label a  hard 
  449.         disk uniquely as yours, providing a deterrent to theft.
  450.  
  451.  
  452.                                     Un Format
  453.  
  454.              Un Format is another method of safeguarding hard disks.   If 
  455.         used  regularly,  as  mentioned later in  the  documentation,  it 
  456.         protects  hard  disk  users from accidental  hard  disk  formats.  
  457.         After a surprising format of your hard disk, Un Format, when used 
  458.         properly,  quickly and easily restores the hard disk to the state 
  459.         it was in before it was formatted.
  460.  
  461.  
  462.                                     Zero File
  463.              
  464.              Zero  File is a utility that completely wipes out any  trace 
  465.         of  a  file's  data from a disk.   If you need to  know  that  no 
  466.         confidential  data  can be left on your disks,  use Zero File  to 
  467.         erase the necessary files.  When a file is zeroed with Zero File, 
  468.         there  will  be no way to Unerase it or recover any part  of  its 
  469.         data.
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.         The Master Key Utilities, version 1.7b                    Page 3
  489.  
  490.  
  491.  
  492.                                 Conventions Used
  493.  
  494.  
  495.              To  make the use of The Master Key Utilities and this  docu-
  496.         mentation  a little easier,  here are descriptions of the phrases 
  497.         and symbols used frequently.
  498.  
  499.  
  500.                                Program Conventions
  501.  
  502.              Each program,  to run properly, has several options that can 
  503.         be issued from the command line.  Some options are required, some 
  504.         are not.   Options enclosed by square brackets,  "[" and "]", are 
  505.         not required in all instances,  while those not enclosed by  any-
  506.         thing are required.  
  507.  
  508.              The  options  specific  to each program are  preceded  by  a 
  509.         backslash,  "/".   Examples  of this are "/RESTORE" and "/COLOR".  
  510.         The  documentation  for  each program will  describe  what  these 
  511.         different options mean.
  512.          
  513.              Words enclosed by angled brackets,  "<" and ">",   are words 
  514.         describing  an option.   These options may or may not be required 
  515.         depending  on  if  they are also  enclosed  by  square  brackets.  
  516.         Currently,  there  are only two of these options to worry  about.  
  517.         They are:
  518.  
  519.              message      any text, not surrounded in quotes
  520.              filename     any valid filename (ex: New.txt, A:One.txt)
  521.              
  522.  
  523.              Also,  while  a program is running,  you may see other  text 
  524.         enclosed  in angle brackets.   This is used to describe a key  to 
  525.         press.   An example of this exists in the main menu of Master Key 
  526.         where,  in part,  the text states,  "...  then pressing <ENTER>."  
  527.         This wording,  in this example,  means to press the Enter key and 
  528.         not the letters <,  E,  N,  T, E, R, and >.  The F10 and End keys 
  529.         are also referred to in this way (ie., as <F10> and <END>). 
  530.  
  531.  
  532.                             Documentation Conventions
  533.  
  534.              The  conventions  used in this document refer mainly to  the 
  535.         description  of  function  keys.   Each  function  key,  wherever 
  536.         possible,  is described by the word or lettering that appears  on 
  537.         the key.  Where this is not possible, the key is described by its 
  538.         function and is surrounded in angle brackets.  
  539.  
  540.              The names I use for these keys and their descriptions are:
  541.  
  542.              End            the End key (key 1) on the numeric keyboard
  543.              Enter          the enter or return key
  544.              Esc            the escape key (wherever it is located)
  545.              F1             function key one
  546.              F2             function key two
  547.  
  548.  
  549.         The Master Key Utilities, version 1.7b                    Page 4
  550.  
  551.  
  552.  
  553.              F3             function key three
  554.              F4             function key four
  555.              F5             function key five
  556.              F6             function key six
  557.              F7             function key seven
  558.              F8             function key eight
  559.              F9             function key nine
  560.              F10            function key ten
  561.              Home           the Home key (key 7) on the numeric keyboard
  562.              Ins            the Ins key (key 0) on the numeric keyboard
  563.              PgDn           the PgDn key (key 3) on the numeric keyboard
  564.              PgUp           the PgUp key (key 9) on the numeric keyboard
  565.              Tab            the tab key
  566.              <DOWN>         the down arrow key on the numeric keyboard
  567.              <LEFT>         the left arrow key on the numeric keyboard
  568.              <RIGHT>        the right arrow key on the numeric keyboard
  569.              <UP>           the up arrow key on the numeric keyboard
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.         The Master Key Utilities, version 1.7b                    Page 5
  611.                      Master Key -- Disk Management Utility                     
  612.  
  613.  
  614.                                Starting Master Key
  615.           
  616.  
  617.              Master Key is started by typing "MK" from the MS-DOS prompt.  
  618.         Doing so loads and runs Master Key without problem,  but the com-
  619.         plete invocation for Master Key from the prompt is:
  620.  
  621.  
  622.              MK [/COLOR] [/MONO] [/SLOW] [/ALL] [d:]
  623.  
  624.  
  625.              Each of the options, briefly described below, exist to force 
  626.         Master  Key  to ignore what it found out about your computer  and 
  627.         accept what you really want.   The case and order of the  options 
  628.         is not important.
  629.          
  630.  
  631.         /COLOR    Display  Color.   All  text  displayed is  shown  in  a 
  632.              variety of colors, even if Master Key has found a monochrome 
  633.              display adapter installed. 
  634.  
  635.         /MONO     Display Monochrome.  All text displayed is shown in two 
  636.              "colors",  even  if  Master Key has found  a  color/graphics 
  637.              display  adapter  installed.   Use this option when using  a 
  638.              graphics adapter with a monochrome monitor.
  639.  
  640.              Note:   Pressing  Tab  at any time while the  main  menu  is 
  641.              displayed  switches  the display between the color  (/COLOR) 
  642.              and monochrome (/MONO) modes.
  643.  
  644.         /SLOW     Display  Slow.   Forces Master Key to use DOS  function 
  645.              calls to display text on the screen.  This display method is 
  646.              not  the  default setting because it's significantly  slower 
  647.              than  the fast display method.   Normally,  Master Key  uses 
  648.              direct memory writes to display text on the screen.  This is 
  649.              a lot faster than using DOS function calls.   If Master  Key 
  650.              is  used in a windowing operating environment,  /SLOW may be 
  651.              necessary for Master Key to run in a window alongside  other 
  652.              programs.
  653.  
  654.         /ALL       Show  all  ASCII characters,  standard  and  extended.  
  655.              Makes Master Key,  when editing a disk or file, display both 
  656.              standard  and extended ASCII characters.   Normally,  Master 
  657.              Key  just  displays standard ASCII  characters,  while  dis-
  658.              playing extended characters as a period (".").  See the DISK 
  659.              section for details.
  660.  
  661.         d:        Sets the current working drive to d:.  The drive letter 
  662.              must be a valid drive letter for your system. If d: is not a 
  663.              valid  drive  letter,  Master Key sets the currently  logged 
  664.              drive to the current working drive.
  665.  
  666.  
  667.              Once  started,  the main menu is shown.   The information in 
  668.         the  main menu includes the name of the program (Master Key)  and 
  669.  
  670.  
  671.         The Master Key Utilities, version 1.7b                    Page 6
  672.                      Master Key -- Disk Management Utility                     
  673.  
  674.  
  675.         version  number  (1.7b),  my copyright,  MS-DOS  version  number, 
  676.         amount  of memory available to DOS,  number  of  drives,  logical 
  677.         drive letters,  current working drive,  my name and address,  and 
  678.         finally a list of the functions available.   
  679.  
  680.              Currently,  there  are eleven functions available  from  the 
  681.         main menu.  They are:
  682.  
  683.                   ALTER .... Modify the attributes of files. 
  684.                   CHANGE ... Change the current working drive.
  685.                   DISK ..... View and/or edit the current drive.
  686.                   ERASE .... Erase files on the current drive.
  687.                   FILE ..... View and/or edit a file on the drive.
  688.                   INFO ..... Show information on the current drive.
  689.                   LOCATE ... Look for matching files on the drive.
  690.                   MAP ...... Show a graphical map of disk usage.
  691.                   RENAME ... Rename files on the current drive.
  692.                   UNERASE .. Unerase files on the current drive.
  693.                   QUIT ..... End Master Key and return to DOS.
  694.  
  695.  
  696.              These  functions are selected by moving the highlighted  bar 
  697.         with  <UP> and <DOWN> and pressing Enter when the bar  highlights 
  698.         the function you want to execute.   An alternative, easier method 
  699.         of  selecting  a  function  is to type the first  letter  of  the 
  700.         function name (A, C, D, E, F, I, L, M, R, U, or Q) and then press 
  701.         Enter.
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.         The Master Key Utilities, version 1.7b                    Page 7
  733.                      Master Key -- Disk Management Utility                     
  734.  
  735.  
  736.                                 Selecting a File
  737.  
  738.  
  739.              Since a file must be selected for six of the ten  functions, 
  740.         choosing  what  file to work with is vital for using  Master  Key 
  741.         well.   Luckily,  choosing a file is very easy and almost doesn't 
  742.         need any description.
  743.  
  744.              Before beginning,  however, what the word "file" means needs 
  745.         a little clarification to avoid confusion.  
  746.  
  747.              A  file,  as defined and viewed by Master Key and DOS,  is a 
  748.         name  and all data associated with that name,  just as you  would 
  749.         expect  and  have been expecting it to be  all  along.   However, 
  750.         technically  a  sub-directory is also a viewed as a file  to  DOS 
  751.         because of the way in which it is accessed and used.   Because of 
  752.         this  little  technicality,  and to give you more  power  easier, 
  753.         Master Key also views a sub-directory as a file.  
  754.  
  755.              Files and sub-directories are treated as equals in functions 
  756.         that  use files.   All file functions can be used  to  manipulate 
  757.         sub-directories  within  Master Key with equal ease,  with a  few 
  758.         exceptions, discussed later.  
  759.  
  760.              Whenever  the word "file" appears within this  document,  it 
  761.         generally also can refer to a sub-directory.  The opposite is not 
  762.         true however.   The word "sub-directory" does not likewise  refer 
  763.         to a file.  
  764.  
  765.              In any case, once you have selected a function that requires 
  766.         a  file eventually to be  selected,  (ALTER,  ERASE,  FILE,  MAP, 
  767.         RENAME,  or  UNERASE)  Master Key checks to see  if  the  current 
  768.         working drive's directory has been read into memory yet.   If the 
  769.         directory  hasn't  been  read into memory,  Master Key  does  so, 
  770.         displaying the following message in the center of the screen:
  771.  
  772.  
  773.                         Reading Directory Information...
  774.  
  775.  
  776.              At  this point,  Master Key has the potential to be a memory 
  777.         hog.   When a file has to be accessed for any of these functions, 
  778.         Master Key first reads the drive's ENTIRE directory,  keeping ALL 
  779.         files  and  ALL sub-directory names and  information  in  memory.  
  780.         Should  Master  Key run out of memory while reading  the  drive's 
  781.         directory,  it  will abort.   Plain and simple.   Normally,  this 
  782.         won't be a problem to most people, but refer to the error message 
  783.         section for help if you run out of free memory space.
  784.  
  785.              Reading  a  drive's directory may take a  little  time,  all 
  786.         depending on how many files and sub-directories are on the  drive 
  787.         and how quickly the drive operates.   In any case, be patient and 
  788.         after a moment, Master Key will be done.  
  789.  
  790.              When  the  entire  directory is in  memory,  use  the  <UP>, 
  791.  
  792.  
  793.         The Master Key Utilities, version 1.7b                    Page 8
  794.                      Master Key -- Disk Management Utility                     
  795.  
  796.  
  797.         <DOWN>,  PgUp,  PgDn,  Home, and End keys to move the highlighted 
  798.         cursor  to select the sub-directory you want to use to get  files 
  799.         from.   <UP>  and <DOWN> move the highlighted bar to the previous 
  800.         and next sub-directory.   PgUp and PgDn move the bar up  and down 
  801.         to the previous and next screen of sub-directories.  Home and End 
  802.         move the bar to the first and last sub-directory.
  803.  
  804.              Press Enter to accept the highlighted sub-directory or press 
  805.         F10 to abort and go back to the main menu.  If you don't have any 
  806.         sub-directories,  selecting  a sub-directory will be skipped.
  807.  
  808.               In a similar manner,  using <UP>, <DOWN>, PgUp, PgDn, Home, 
  809.         and End, highlight and select the file to work with.
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.         The Master Key Utilities, version 1.7b                    Page 9
  855.                      Master Key -- Disk Management Utility                     
  856.  
  857.  
  858.                     ALTER     Modify the attributes of files 
  859.  
  860.  
  861.              ALTER is used to change the attributes,  date,  and time for 
  862.         any  file  on  the current working drive.   You can make  a  file 
  863.         hidden,  read-only,  or a system file with equal ease,  and  also 
  864.         change its date and time of creation with little effort.
  865.  
  866.              After within the ALTER function,  select the initial file to 
  867.         work with.  Once a file has been selected, you have the chance to 
  868.         change its attributes.  
  869.  
  870.              To change one of the attributes (Read Only,  Hidden, System, 
  871.         or  Archive),  move the highlighted bar with <UP> and <DOWN>  and 
  872.         press Enter to toggle the highlighted attribute on or off.   When 
  873.         an attribute is on, it is set or in an active state.
  874.  
  875.              Changing  the  time or date is a little different,  but  not 
  876.         enough  to make it difficult.   Once the highlighted bar is  over 
  877.         the date or time field, press any key to tell Master Key you want 
  878.         to change the contents of that field.
  879.  
  880.              Upon  pressing any key when the date or time field is  high-
  881.         lighted,  you  should notice the presence of a cursor within  the 
  882.         highlighted bar.   You can now type in the new date or time (only 
  883.         valid numbers are accepted),  and move the cursor to a  different 
  884.         place using <LEFT> and <RIGHT>.   Pressing <UP>, <DOWN>, or Enter 
  885.         ends your changes to the date or time.
  886.              
  887.              When  you are not actually editing the date or time  fields, 
  888.         pressing <LEFT> or <RIGHT> changes the file you are working  with 
  889.         to the previous or next file in the directory, respectively.   If 
  890.         the file is changed in this manner (using <LEFT> or <RIGHT>), any 
  891.         changes  you  made  to the previous file  are  NOT  automatically 
  892.         saved.  
  893.  
  894.              To save any changes made to the file's attributes,  date, or 
  895.         time,  press End.  An easy way to tell if you have saved a file's 
  896.         attributes is to compare the "Present Attributes" column with the 
  897.         "New Attributes" column.  After pressing End, they are identical.
  898.  
  899.              When  finished changing attributes,  pressing F10  lets  you 
  900.         leave  the ALTER function.   After doing this,  you are presented 
  901.         the ever familiar main menu and can continue from there as usual.
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.         The Master Key Utilities, version 1.7b                    Page 10
  916.                      Master Key -- Disk Management Utility                     
  917.  
  918.  
  919.                    CHANGE    Change the current working drive
  920.  
  921.  
  922.              CHANGE has two major functions.   The first and most obvious 
  923.         is  that it lets you switch the current working drive to  another 
  924.         available  drive.   The second less obvious function is  that  it 
  925.         also  clears  all file and directory information Master  Key  has 
  926.         stored,  making  it start over from scratch the next time a  file 
  927.         needs to be accessed.
  928.  
  929.              Whenever you need to work with a disk other than the current 
  930.         working  drive,  select  CHANGE and switch  the  current  working 
  931.         drive.   
  932.  
  933.              Whenever  you  switch floppy disks in a floppy  disk  drive, 
  934.         tell  Master Key about the switch by changing the current working 
  935.         drive back to the floppy disk drive.  If you forget to CHANGE the 
  936.         current  working drive after switching floppy disks,  Master  Key 
  937.         will  think the old floppy disk is still present when  it  isn't, 
  938.         and  won't  be  able  to function properly in  any  of  the  file 
  939.         functions.  
  940.  
  941.              Pressing  Enter  with the CHANGE function selected  opens  a 
  942.         window showing something similar to:
  943.  
  944.  
  945.                           Enter a letter from A to E to
  946.                             change the current drive.
  947.                               Press <F10> to abort
  948.  
  949.  
  950.              To change the current working drive,  do as it says and type 
  951.         a letter in the range shown.  In this example, you could type any 
  952.         of the letters A,  B, C, D, or E.  Anything else is not accepted.  
  953.  
  954.              If you selected CHANGE by mistake,  you can abort the  func-
  955.         tion  by pressing F10.   Doing so keeps Master Key from  clearing 
  956.         all stored information on the current drive. 
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.         The Master Key Utilities, version 1.7b                    Page 11
  977.                      Master Key -- Disk Management Utility                     
  978.  
  979.  
  980.                   DISK      View and/or edit the current drive
  981.  
  982.  
  983.              If  you  have  a need or a want to see and  change  what  is 
  984.         actually stored on your disks, at a byte level, the DISK function 
  985.         provides that capability.
  986.  
  987.              When  DISK is highlighted and Enter is pressed,  Master  Key 
  988.         goes to the first sector on the disk in the current working drive 
  989.         and displays it in both hexadecimal and ASCII coded formats.   If 
  990.         you select DISK after previously editing the disk, (ie, selecting 
  991.         DISK  a  second time on the same disk) Master Key returns you  to 
  992.         the previous sector you were editing, instead of the first sector 
  993.         on the disk.
  994.  
  995.              Once you begin editing the disk, a variety of function keys, 
  996.         arrow  keys,  movement  keys,  and other keys  become  effective.  
  997.         These keys and their functions are all described below.  
  998.  
  999.  
  1000.         F1         Help.  Function key one displays, whenever editing the 
  1001.              disk,  a  screen summarizing the functions of specific  keys 
  1002.              described  here.   Getting help will not cause  any  changes 
  1003.              previously  made to the sector in memory to be lost,  so you 
  1004.              can ask for help at any time freely.
  1005.  
  1006.         F2        Toggle Hex/ASCII.   Function key two moves the blinking 
  1007.              cursor  from  the  hex/ASCII side of  the  display,  to  the 
  1008.              ASCII/hex side of the display.   The cursor will stay at the 
  1009.              same  relative  position  in  the  sector  that  it  was  at 
  1010.              previously,  it  will just go over to the opposite side  for 
  1011.              different editing.
  1012.  
  1013.         F3        Go  to  a sector.   Function key three  gives  you  the 
  1014.              ability  to go randomly to any allowable sector on the disk.  
  1015.              After pressing F3, a window opens showing the valid range of 
  1016.              sector numbers.  Enter a number in the range shown, or press 
  1017.              F10 to abort that function and remain at the sector you  are 
  1018.              currently at, without losing any changes previously made.
  1019.  
  1020.         F4         Go  to previous sector.   Function key four moves  the 
  1021.              current  sector  back  to  the  previous  sector  displayed.  
  1022.              Master Key continuously keeps track of the last five sectors 
  1023.              that were displayed.   After moving to another sector, pres-
  1024.              sing  F4  repeatedly  will bring back to one of  those  five 
  1025.              sectors.  Press F4 after going directly to a sector with F3, 
  1026.              and you will be back at the previous sector quickly.
  1027.  
  1028.         F5        Search for data.  Function key five lets you search for 
  1029.              text  anywhere on the disk.   A window opens on  the  screen 
  1030.              after F5 is pressed.  Enter the text that you want to search 
  1031.              for  and  press  Enter and Master Key will  search  for  it.  
  1032.              Press F10 twice to abort searching for the data.  Any chara-
  1033.              cter can be searched for.  Master Key searches for both upper 
  1034.              and  lower  case text at the same time,  so if you  want  to 
  1035.  
  1036.  
  1037.         The Master Key Utilities, version 1.7b                    Page 12
  1038.                      Master Key -- Disk Management Utility                     
  1039.  
  1040.  
  1041.              search  for "Hello World",  Master Key would find it even if 
  1042.              you  asked it to search for "hELLo  WORld".   All  searching 
  1043.              starts  from  the current cursor position within the  sector 
  1044.              and goes to the end of the disk or until the text is found.
  1045.  
  1046.         F6         Continue search.   Function key six continues the text 
  1047.              search started with F5.  Pressing F6 makes Master Key search 
  1048.              for  the next occurrence of the text that was  entered  pre-
  1049.              viously.  The searching starts from the current cursor posi-
  1050.              tion and goes to the end of the disk,  just like it did with 
  1051.              F5.
  1052.  
  1053.         F7         Go to start of disk.   Function key seven changes  the 
  1054.              current sector being edited to the first sector of the disk.
  1055.  
  1056.         F8         Go  to  end of disk.   Function key eight changes  the 
  1057.              current sector being edited to the last available sector  on 
  1058.              the disk.
  1059.  
  1060.         F9         Show  disk info.   Function key nine displays a screen 
  1061.              showing assorted technical information on the current drive.  
  1062.              This includes sector and cluster sizes,  a few locations  of 
  1063.              key  areas on the drive,  and file information if available.  
  1064.              Getting  information will not cause any  changes  previously 
  1065.              made to the sector in memory to be lost,  so you can ask for 
  1066.              disk information to be displayed at any time.
  1067.  
  1068.         F10       Function  key ten stops editing,  bringing you back  to 
  1069.              the main menu.
  1070.  
  1071.         <UP>      Move  up.   The up arrow,  moves the cursor up one line 
  1072.              within the sector.  If you are at the first line, the cursor 
  1073.              wraps around to the last line in the sector.
  1074.  
  1075.         <DOWN>    Move down.   The down arrow,  moves the cursor down one 
  1076.              line  within  the sector.   When the cursor is at  the  last 
  1077.              line, <DOWN> wraps the cursor around to the first line.
  1078.  
  1079.         <RIGHT>   Move right.   The right arrow key,  moves the cursor to 
  1080.              the right.   When you are at the last character (or byte) in 
  1081.              a line,  <RIGHT> moves the cursor to the the first character 
  1082.              (or byte) in the next line.
  1083.  
  1084.         <LEFT>     Move left.   The left arrow,  will moves the cursor to 
  1085.              the  left.   When the cursor is at the first  character  and 
  1086.              <LEFT>  is  pressed,  the  cursor wraps around to  the  last 
  1087.              character in the line above the current line.
  1088.  
  1089.         PgUp      Go forwards.  The PgUp key makes Master Key advance the 
  1090.              current  sector  to the next sector available on  the  disk, 
  1091.              making  it  the current sector being  edited.   If  you  are 
  1092.              already  at the last sector,  PgUp wraps around to the first 
  1093.              sector on the disk.
  1094.  
  1095.         PgDn      Go  backwards.   The  PgDn  key  makes  Master  Key  go 
  1096.  
  1097.  
  1098.         The Master Key Utilities, version 1.7b                    Page 13
  1099.                      Master Key -- Disk Management Utility                     
  1100.  
  1101.  
  1102.              backwards one sector, making the previous sector on the disk 
  1103.              the current sector being edited.  When the current sector is 
  1104.              the  first sector,  PgDn wraps around to the last sector  on 
  1105.              the disk.
  1106.  
  1107.         Home      Reread  sector.   The  Home key forces  Master  Key  to 
  1108.              reread the current sector into the sector in memory.   There 
  1109.              are two reasons why you might want to do this.  The first is 
  1110.              to  try  to  reread a sector when an error happened  on  the 
  1111.              first try.   The other reason is to get a fresh copy of  the 
  1112.              sector  into  memory to edit,  when you have made  too  many 
  1113.              unwanted  changes  to the sector in memory.   When  Home  is 
  1114.              pressed,  Master  Key  clears whatever changes you made  and 
  1115.              displays a new working copy of the current sector.
  1116.  
  1117.         End       Write  sector.   The End key saves the changes you made 
  1118.              to the sector in memory.   If you move to another sector and 
  1119.              forget to write it first,  all changes made to the  previous 
  1120.              sector  will not automatically be lost however.   Master Key 
  1121.              will  ask  you about saving the changes before  it  discards 
  1122.              them.  If you don't save the sector displayed on the screen, 
  1123.              it will not be changed on the disk.
  1124.  
  1125.         Ins       Toggle ASCII display.  The Ins key switches between two 
  1126.              different  ASCII display modes.   The default mode  displays 
  1127.              only  standard ASCII characters.   The other  mode,  toggled 
  1128.              with Ins,  displays all ASCII characters,  both standard and 
  1129.              extended.   Any  ASCII character can be entered in the ASCII 
  1130.              part  of the display at all times,  but when  only  standard 
  1131.              ASCII  characters  are being displayed any  other  character 
  1132.              besides  standard ASCII characters are displayed as a period 
  1133.              (".").
  1134.  
  1135.  
  1136.              At  all times while editing,  the actual sector number being 
  1137.         edited  is  displayed at the bottom of  the  screen.   The  first 
  1138.         sector  number  for  a disk is always 1,  while the  last  sector 
  1139.         number  depends  on the format and capacity of the disk  you  are 
  1140.         working with.
  1141.  
  1142.              Making a change to any sector is relatively easy.  Locate or 
  1143.         go  to  the  sector you want to edit.   Move the  cursor  to  the 
  1144.         position to change then type in the changes.  Changes are discri-
  1145.         minated  from  what was previously in the sector by  being  high-
  1146.         lighted.  
  1147.  
  1148.              Any ASCII character,  all 256 of them,  can be entered while 
  1149.         the  cursor is in the ASCII part of the display,  but only  valid 
  1150.         hexadecimal characters (0 through 9,  A through F) can be entered 
  1151.         while the cursor is on the hex side of the display.   This causes 
  1152.         an interesting problem if you are used to making corrections with 
  1153.         the backspace key.    That method of correcting errors (the back-
  1154.         space  key) doesn't work with Master Key,  it is just accepted as 
  1155.         another  character and processed as a valid character or  invalid 
  1156.         character depending if the cursor is on the ASCII or hex side  of 
  1157.  
  1158.  
  1159.         The Master Key Utilities, version 1.7b                    Page 14
  1160.                      Master Key -- Disk Management Utility                     
  1161.  
  1162.  
  1163.         the display.   To make a correction,  you have to move the cursor 
  1164.         with <LEFT> and type in the correction.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.         The Master Key Utilities, version 1.7b                    Page 15
  1221.                      Master Key -- Disk Management Utility                     
  1222.  
  1223.  
  1224.                    ERASE     Erase files on the current drive
  1225.  
  1226.  
  1227.              The  ERASE function obviously is used to erase any file  on 
  1228.         the current working drive.   Master Key doesn't use the DOS erase 
  1229.         function to erase files, so any file can be erased, even if it is 
  1230.         supposed to be read only or hidden.  The particular status of any 
  1231.         file  doesn't  make any difference.   Master Key currently  won't 
  1232.         allow sub-directories to be erased.
  1233.  
  1234.              After selecting ERASE, choose the sub-directory to get files 
  1235.         from  then the initial file to erase.   Press F10 if you want  to 
  1236.         abort and go back to the main menu.
  1237.  
  1238.              When a file is selected,  the screen clears and you will see 
  1239.         something similar to what is shown below.
  1240.  
  1241.  
  1242.                     The file, "OLD-FILE.NAM" will be deleted.
  1243.                       Press 'Y' to delete the file.
  1244.                       Press 'S' to skip deleting this file.
  1245.                       Press <F10> to abort and exit.
  1246.  
  1247.  
  1248.              If  you now press 'Y',  the file OLD-FILE.NAM will be erased 
  1249.         from  the disk.   Pressing 'S' (or 'N') will not erase the  file.  
  1250.  
  1251.              Upon pressing 'Y' or 'S',  Master Key completes its work and 
  1252.         then  returns you to the file selection screen for the chance  to 
  1253.         select another file to erase.   It repeats doing this until there 
  1254.         are no files left in the directory or you eventually press F10.
  1255.  
  1256.              Pressing  F10,  as  always,  puts you back at the main  menu 
  1257.         without erasing anything.
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.         The Master Key Utilities, version 1.7b                    Page 16
  1282.                      Master Key -- Disk Management Utility                     
  1283.  
  1284.  
  1285.                  FILE      View and/or edit a file on the drive
  1286.  
  1287.  
  1288.              The  FILE function is almost identical in operation  to  the 
  1289.         DISK  function.   The main difference is that FILE gives you  the 
  1290.         ability to see and edit only what is in a file and not the entire 
  1291.         disk.
  1292.  
  1293.              Press Enter when FILE is highlighted,  select the  directory 
  1294.         to get files from and then get the initial file to  edit.   Press 
  1295.         F10 to return to the main menu. 
  1296.  
  1297.              After a file has been selected, you will are shown the first 
  1298.         sector in the file,  ready to edit it.   All function keys, arrow 
  1299.         keys,  movement keys, and other keys act the same way as they did 
  1300.         in  the DISK functions,  with a few minor differences in the  way 
  1301.         they operate,  described briefly below.   Except for what is des-
  1302.         cribed  below,  you should read and follow the  key  descriptions 
  1303.         found in the section on DISK.
  1304.  
  1305.  
  1306.         F3        Go  to a sector.   Function key three still lets you go 
  1307.              randomly to any sector,  but goes to relative sectors within 
  1308.              the file.  You cannot edit any sector outside of the current 
  1309.              file.
  1310.  
  1311.         F7         Go to start of file.   Function key seven changes  the 
  1312.              current sector being edited to the first sector in the file. 
  1313.  
  1314.         F8         Go  to  end of file.   Function key eight changes  the 
  1315.              current sector being edited to the last sector in the file.
  1316.  
  1317.         PgUp      Go forwards.  The PgUp key advances the relative sector 
  1318.              to the next sector in the file.  It won't wrap around to the 
  1319.              first sector if you are at the last sector in the file,  but 
  1320.              will remain at the last sector.
  1321.  
  1322.         PgDn       Go  backwards.   The  PgDn key goes backwards  to  the 
  1323.              previous  sector  in  the file being  edited.   If  you  are 
  1324.              already  at  the first sector in  the  file,  pressing  PgDn 
  1325.              leaves you at the first sector.
  1326.  
  1327.  
  1328.              At all times while editing, the relative sector number being 
  1329.         edited  will be displayed,  not the actual sector number  on  the 
  1330.         disk.   The  first relative sector number for a file is always 1, 
  1331.         no matter where the start of the file physically is.
  1332.  
  1333.              Like DISK, pressing F10 returns you to the main menu.
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.         The Master Key Utilities, version 1.7b                    Page 17
  1343.                      Master Key -- Disk Management Utility                     
  1344.  
  1345.  
  1346.                  INFO      Show information on the current drive
  1347.  
  1348.  
  1349.              DOS  hides most information that it has on available on  the 
  1350.         current working drive.   Pressing Enter while INFO is highlighted 
  1351.         displays  much of this information along with some other informa-
  1352.         tion that is both useful and good to know.
  1353.  
  1354.              When  INFO is selected,  the left section of the screen will 
  1355.         clear  and the following information is displayed.   The  numbers 
  1356.         differ  depending on the format and size of the disk being  used.  
  1357.         This example shows a standard, newly formatted 360K floppy disk.
  1358.  
  1359.  
  1360.              Current drive A:
  1361.                   360  Kilobytes disk capacity (possible)
  1362.                   354  Kilobytes available (100.0%) free
  1363.                   512  bytes in each sector
  1364.                   720  total sectors on the disk
  1365.                     2  sectors in each cluster
  1366.                   354  total clusters on the disk
  1367.                     1  Reserved sector(s)
  1368.                     2  FAT copies; each using 2 sectors
  1369.                   112  files allowed in the root directory
  1370.  
  1371.                Volume  [no label]
  1372.                     0  total directories on the disk
  1373.                     0  total files on the disk
  1374.  
  1375.              Start of Reserved sector(s):  sector     0
  1376.              Start of all FAT copies:      sector     1
  1377.              Start of the root directory:  sector     5
  1378.              Start of all data sectors:    sector    12
  1379.  
  1380.           
  1381.              You  may  be  wondering  why  the  disk  capacity  and  disk 
  1382.         available  are different if this example is on a newly  formatted 
  1383.         disk.   Notice that, at the bottom of the display, 11 sectors are 
  1384.         taken  up  by  the  FAT and root  directory  while  1  sector  is 
  1385.         reserved.   Multiplying  12  (11 + 1) by 512 bytes yields the  6k 
  1386.         (1024  bytes equals one kilobyte) difference shown in  the  first 
  1387.         two lines.
  1388.  
  1389.              The  information on volume name,  directories,  and files is 
  1390.         displayed  only  after the drive's directory has been  read  into 
  1391.         memory.
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.         The Master Key Utilities, version 1.7b                    Page 18
  1404.                      Master Key -- Disk Management Utility                     
  1405.  
  1406.  
  1407.                  LOCATE     Look for matching files on the drive
  1408.  
  1409.  
  1410.              LOCATE  finds  and displays all files on the  current  drive 
  1411.         matching any file specification.   LOCATE helps users of hard and 
  1412.         floppy  disks  looking for several copies of a file in  different 
  1413.         places on one disk,  trying to find where a file is  located,  or 
  1414.         just wanting to look at all files on a disk.  
  1415.  
  1416.              When  LOCATE is chosen,  the screen clears,  a few lines  of 
  1417.         help are displayed, and the following prompt appears:
  1418.  
  1419.              
  1420.                               Filename:  *       .*
  1421.  
  1422.  
  1423.              Enter the file(s) you want to look for.  The wildcards ? and 
  1424.         * can be used as they would be with DOS, anywhere within the name 
  1425.         to  match  any character and all characters from that  point  on, 
  1426.         respectively.   <LEFT> and <RIGHT> move the cursor to a  specific 
  1427.         location in the name to make changes.   Tab moves the cursor from 
  1428.         the  filename  to the extension part of the name and vice  versa.  
  1429.         Press Enter when the file to look for has been entered.
  1430.  
  1431.              After  Enter  is  pressed,  Master Key  displays  all  files 
  1432.         matching   the  filename  entered  (reading  the   directory   if 
  1433.         necessary),  pausing  at  the end of every screenfull  of  files.  
  1434.         When  pausing,  press F10 to stop the display or any other key to 
  1435.         continue listing all matching files.
  1436.  
  1437.              Pressing  F10 returns you to the main menu without  locating 
  1438.         any files. 
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.         The Master Key Utilities, version 1.7b                    Page 19
  1465.                      Master Key -- Disk Management Utility                     
  1466.  
  1467.  
  1468.                   MAP       Show a graphical map of disk usage 
  1469.  
  1470.  
  1471.              The  MAP function graphically shows the free  compared  with 
  1472.         occupied  space on the current disk.   It also displays,  in  the 
  1473.         same graphic map, where a file is located on the current disk and 
  1474.         gives a visual indication of the fragmentation of the file.
  1475.  
  1476.              After  selecting MAP,  Master Key goes to work creating  the 
  1477.         graphical  map  of  total disk usage for the  current  disk.   On 
  1478.         floppy  disk  drives  and other relatively  small  capacity  disk 
  1479.         drives,  this happens very quickly.   On large capacity hard disk 
  1480.         drives  and  on  slower computers,  creating this  map  may  take 
  1481.         several seconds.  Be patient and soon the map will appear.
  1482.  
  1483.              When  the graphical map eventually is shown,  you are  shown 
  1484.         the  amount  of free space in textual form as well as the  visual 
  1485.         free space displayed in the map.    Additionally,  you are  shown 
  1486.         how many clusters each symbol represents.
  1487.  
  1488.              Because of the space limitation of the graphical map on your 
  1489.         screen,  each symbol can represent from one cluster to twenty  or 
  1490.         more  clusters.   Usually  for floppy disks and small RAM  disks, 
  1491.         each  symbol represents one cluster.    On hard disks  and  other 
  1492.         large capacity disks,  each symbol typically represents many more 
  1493.         clusters.  On my hard disk, one symbol represents 20.3 clusters.
  1494.  
  1495.              After the disk map is shown, press any key to continue on to 
  1496.         the individual file mapping.  
  1497.  
  1498.              Select  a directory and initial file to map as described  in 
  1499.         the Selecting a File section.   Once an initial file is selected, 
  1500.         <LEFT>  and <RIGHT> changes the file being mapped to the previous 
  1501.         and next file in the current directory,  respectively.   Pressing 
  1502.         Ins while mapping lets you select another directory to map  files 
  1503.         from  to  avoid  the possibly lengthy process of  re-mapping  the 
  1504.         entire disk.
  1505.  
  1506.              Press F10 to return to the main menu.
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.         The Master Key Utilities, version 1.7b                    Page 20
  1526.                      Master Key -- Disk Management Utility                     
  1527.  
  1528.  
  1529.                   RENAME     Rename files on the current drive 
  1530.  
  1531.  
  1532.              The  RENAME  function  can rename any file  on  the  current 
  1533.         working  drive.   Master Key goes around the DOS rename  function  
  1534.         to rename files, letting you change the name of any file, even if 
  1535.         it has a hidden or system status.   The status of a file isn't of 
  1536.         importance to Master Key.  The main difference between the RENAME 
  1537.         function  and  the  DOS rename command is that  RENAME  can  only 
  1538.         change  the  name of one file at a time and cannot be  used  with 
  1539.         wildcards.
  1540.  
  1541.              Once RENAME is selected,  choose the directory to get  files 
  1542.         from and then a file to rename.   Press F10 if you decide at some 
  1543.         point  that you don't want to rename files and you'll be returned 
  1544.         to the main menu.
  1545.  
  1546.              After choosing a file,  the screen clears and you are  asked 
  1547.         to enter the new name for the file.  If you were trying to rename 
  1548.         "OLD-FILE.NAM," the screen would show, (in part): 
  1549.  
  1550.  
  1551.                              Filename:  OLD-FILE.NAM
  1552.  
  1553.  
  1554.              Enter the new name for the file,  typing over the old  name.  
  1555.         The  new  name  must be typed in exactly as you want  to  see  it 
  1556.         appear in the directory. You may have to type over previous extra 
  1557.         characters  with spaces if necessary so that the new name appears 
  1558.         exactly as you want it.   If leading or embedded spaces are  left 
  1559.         in  the  filename or extension part of the name (as  an  example, 
  1560.         "Letter  1.txt"),  DOS  will have a difficult time accessing  the 
  1561.         file.  The file can still be used and accessed in a few instances 
  1562.         from DOS (and always from Master Key),  but a little trickery  is 
  1563.         involved  to  do  so.   (Leaving embedded spaces in the  name  is 
  1564.         permitted  in  Master Key only because you might want to  make  a 
  1565.         file harder to access.   Embedding spaces in a name is definitely 
  1566.         one way to make a file harder to access from DOS.) 
  1567.  
  1568.              <LEFT> and <RIGHT> moves the cursor to any point in the  old 
  1569.         name to make changes.   Tab moves the cursor from the name to the 
  1570.         extension part of the name and vice versa.  When you have changed 
  1571.         the name to what you desire, press Enter and you will see:
  1572.  
  1573.  
  1574.            The file, "OLD-FILE.NAM" will be renamed to "NEW-FILE.NAM"
  1575.                       Press 'Y' to rename the file.
  1576.                       Press 'R' to re-enter the new file name.
  1577.                       Press 'S' to skip renaming this file.
  1578.                       Press <F10> to abort and exit.
  1579.  
  1580.  
  1581.              Pressing 'Y' at this point renames the old file name to  the 
  1582.         new  name you typed in.   If you pressed 'S' (or 'N'),  the  file 
  1583.         won't  be renamed and you will be allowed to select another  file 
  1584.  
  1585.  
  1586.         The Master Key Utilities, version 1.7b                    Page 21
  1587.                      Master Key -- Disk Management Utility                     
  1588.  
  1589.  
  1590.         to rename.  'R' will show you the "Filename:" prompt shown above, 
  1591.         letting you change the name again and try again.  
  1592.  
  1593.              Pressing  F10,  as usual,  brings you back to the main menu, 
  1594.         without renaming anything.
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.         The Master Key Utilities, version 1.7b                    Page 22
  1648.                      Master Key -- Disk Management Utility                     
  1649.  
  1650.  
  1651.                   UNERASE   Unerase files on the current drive
  1652.  
  1653.  
  1654.              Well, you've gone off and erased a file by mistake, and it's 
  1655.         an important file.   Before using Master Key,  you would have  to 
  1656.         try  to re-create the file if that was possible.   Now,  you have 
  1657.         the  ability  to recover the file with a minimum  of  effort  and 
  1658.         continue on as normal by using the UNERASE function.
  1659.  
  1660.              After  selecting  UNERASE,  choose the sub-directory to  get 
  1661.         erased files from then the initial file to unerase.  Press F10 if 
  1662.         you want to abort and go back to the main menu.
  1663.  
  1664.              When a file is selected,  the screen clears and you will see 
  1665.         something similar to what is shown below.
  1666.  
  1667.  
  1668.         Enter the first letter for "?LD-FILE.NAM" to begin unerasing it.
  1669.  
  1670.          
  1671.              When  a  file  is erased,  one of the parts of  it  that  is 
  1672.         altered  is the first character in the filename.   To  unerase  a 
  1673.         file, you have to supply the first character in its name.
  1674.  
  1675.             Once  the  first  letter in the file name  is  entered,  the 
  1676.         following messages displays:
  1677.  
  1678.  
  1679.                     The file, "OLD-FILE.NAM" will be unerased.
  1680.                       Press 'Y' to unerase the file.
  1681.                       Press 'S' to skip unerasing this file.
  1682.                       Press <F10> to abort and exit.
  1683.  
  1684.  
  1685.              If  you  now press 'Y',  Master Key attempts to unerase  the 
  1686.         file  OLD-FILE.NAM.   Pressing 'S' (or 'N') will not unerase  the 
  1687.         file.   After pressing 'Y' or 'S',  Master Key completes its work 
  1688.         and  returns you to the file selection screen for the  chance  to 
  1689.         select  another  file to unerase.   It repeats doing  this  until 
  1690.         there  are no erased files left in the sub-directory or you even-
  1691.         tually press F10.  
  1692.  
  1693.              Pressing  F10 always puts you back at the main menu  without 
  1694.         unerasing anything.
  1695.  
  1696.              Successfully  unerasing  a file depends on a lot of  factors 
  1697.         and  is  in no way guaranteed to be always  successful.   Two  of 
  1698.         these  factors,  described  below,  can  be a  big  help  or  big 
  1699.         hindrance when Master Key tries to unerase a file.
  1700.  
  1701.         Time.     Generally,  unerasing a file immediately after  erasing 
  1702.              it will work without problems.   The chances of successfully 
  1703.              unerasing a file go down with the passage of more time since 
  1704.              its erasure.   If nothing has been written to the disk since 
  1705.              the file was erased, there is a very good chance that it can 
  1706.  
  1707.  
  1708.         The Master Key Utilities, version 1.7b                    Page 23
  1709.                      Master Key -- Disk Management Utility                     
  1710.  
  1711.  
  1712.              be unerased.   However, if some time has passed and you have 
  1713.              saved a few files to the disk, it is highly unlikely that an 
  1714.              erased file can be fully recovered.
  1715.  
  1716.         Fragmentation.  Chances  for  a  successful  unerasure  are  also 
  1717.              increased  if both the file and disk weren't in a fragmented 
  1718.              state before the file was erased.   A file is fragmented  if 
  1719.              its  clusters  aren't  stored  consecutively  on  the  disk.  
  1720.              Fragmentation  usually only happens in large files that  get 
  1721.              updated   often  (like  databases).    I  recommend  that  a 
  1722.              preventative  precaution be taken:   unfragment your  entire 
  1723.              disk (especially hard disks!) on a regular basis with any of 
  1724.              the many commercial or public domain programs that claim  to 
  1725.              unfragment disks.   
  1726.              
  1727.  
  1728.              If Master Key is successful in unerasing a file,  all  still 
  1729.         may  not  be  well -- the data it has saved may not be  what  was 
  1730.         originally in your file.   Please check over your file  (possibly 
  1731.         by  using  the FILE function) to make sure that it  contains  the 
  1732.         correct data.   Be especially careful if the file you unerased is 
  1733.         a .COM or .EXE file. 
  1734.  
  1735.              Master  Key,  unlike  several other  programs  that  unerase 
  1736.         files,  can  unerase  sub-directories as well.   It does  have  a 
  1737.         limitation  however.   Because sub-directories do not have a size 
  1738.         stored  as  part of its information,  Master Key has  no  way  of 
  1739.         knowing how many clusters it occupied.   Whenever a sub-directory 
  1740.         is  unerased,  only its first cluster is unerased and any  subse-
  1741.         quent clusters, if they existed, will be forever lost.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.         The Master Key Utilities, version 1.7b                    Page 24
  1770.                      Master Key -- Disk Management Utility                     
  1771.  
  1772.  
  1773.                     QUIT     End Master Key and return to DOS
  1774.  
  1775.  
  1776.              Selecting  QUIT  from the main menu stops the  execution  of 
  1777.         Master Key and return you to DOS (or other operating environment, 
  1778.         if applicable).   It returns to the same drive and directory that 
  1779.         you  started in,  unless of course you switched the disk that you 
  1780.         started from.
  1781.  
  1782.              QUIT has a synonym that can be used if you  like.   Pressing 
  1783.         F10 while in the main menu also quits the program after confirma-
  1784.         tion.   This  is no shorter than pressing "Q <ENTER>",  but it is 
  1785.         included  to  be consistent with the exit command of  other  fun-
  1786.         ctions.  When F10 is pressed, you'll see the message:
  1787.  
  1788.  
  1789.                    Do you really want to exit Master Key? (Y/N)
  1790.  
  1791.  
  1792.              If  you enter anything other than 'Y',  Master Key continues 
  1793.         to  run as if nothing happened,  waiting patiently for your  next 
  1794.         command.
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.         The Master Key Utilities, version 1.7b                    Page 25
  1831.                      Master Key -- Disk Management Utility                     
  1832.  
  1833.  
  1834.                                  Error Messages
  1835.  
  1836.  
  1837.              This section contains a list of the error messages you could 
  1838.         encounter while running Master Key and brief descriptions of what 
  1839.         they  mean.   The  types of error messages are broken  down  into 
  1840.         three categories:  program errors, disk errors, and other errors.
  1841.  
  1842.  
  1843.                                  Program Errors
  1844.  
  1845.              Program errors deal with something going wrong within Master 
  1846.         Key,  or  something happening that it couldn't  deal  with.   All 
  1847.         program  errors  result in the screen being  cleared,  a  message 
  1848.         displayed  at  the top of the screen stating that something  went 
  1849.         wrong, and the program aborting.  
  1850.  
  1851.              The most common (and hopefully only) program error  concerns 
  1852.         running out of memory.  If Master Key isn't able to read and keep 
  1853.         a disk's entire directory into memory,  it displays the following 
  1854.         error message at the top of the screen:
  1855.  
  1856.  
  1857.                    Master Key, version 1.7b is out of memory.  
  1858.  
  1859.  
  1860.              There  are several solutions available if you see this error 
  1861.         message.   First,  if  you don't have a full 640K of  memory  in-
  1862.         stalled  in your computer,  the easiest remedy is to purchase and 
  1863.         install  more memory.   If more memory is not a solution for  you 
  1864.         (you already have 640K,  you don't have enough $, etc.), removing 
  1865.         a few memory resident programs, rebooting, and trying again is an 
  1866.         alternative.   Finally,  if  you are running in  a  multi-tasking 
  1867.         environment,  changing  the  .PIF or similar program  description 
  1868.         file  for  Master Key and allocating more minimum  memory  to  it 
  1869.         should help out.
  1870.  
  1871.              In  all  reality,  most users will never run out of  memory.  
  1872.         Never.  There will, however, be a few who have thousands of files 
  1873.         on a hard disk that may encounter a problem.  If you end up being 
  1874.         one of those few,  write me and I'll try to change Master Key  to 
  1875.         work for you.
  1876.  
  1877.              The next and only other program error message is a catch all 
  1878.         for  anything unexpected going wrong.   When Master Key  stumbles 
  1879.         somewhere, it shows the following error message:
  1880.  
  1881.  
  1882.                           Oops, an unexpected error ...
  1883.  
  1884.  
  1885.              This is the beginning of the error message.  What follows is 
  1886.         the  error number,  the location in the program where  the  error 
  1887.         happened, and if possible a general description of the error.  If 
  1888.         you ever get this error, please write down everything that Master 
  1889.  
  1890.  
  1891.         The Master Key Utilities, version 1.7b                    Page 26
  1892.                      Master Key -- Disk Management Utility                     
  1893.  
  1894.  
  1895.         Key displays and send me a copy of it.  When doing so, please try 
  1896.         to  include as much information on your system and what you  were 
  1897.         doing  when  the error happened.   This will help me to  rid  the 
  1898.         program of any previously undetected errors.
  1899.  
  1900.  
  1901.                                    Disk Errors
  1902.  
  1903.              Program  errors take the easy out -- they abort the program.  
  1904.         Disk errors,  on the other hand make Master Key open a window  on 
  1905.         the  screen and if possible,  continue.   If a disk error  occurs 
  1906.         while  Master Key is reading a directory,  Master Key exits what-
  1907.         ever function you were trying to execute and returns to the  main 
  1908.         menu.   Disk errors that occur elsewhere leave you where you were 
  1909.         in the appropriate function when the error happened, possibly not 
  1910.         reading or writing to the disk as you wanted to.
  1911.  
  1912.              All  disk errors dealing with the disk itself start with the 
  1913.         following message appearing as the first line in a window  opened 
  1914.         in the middle of the screen.
  1915.  
  1916.  
  1917.                                  > Disk Error! <
  1918.  
  1919.  
  1920.              Following  that line is one of the following error  messages 
  1921.         describing what went wrong:
  1922.  
  1923.                             The disk does not exist.
  1924.                          A general disk error happened.   
  1925.                             Error during a disk read.      
  1926.                            Error during a disk write.     
  1927.                         Bad sector -- not found on disk.  
  1928.                               Unknown disk format.         
  1929.                              Error during disk seek.       
  1930.                          CRC error -- bad parity check.   
  1931.                         Disk not ready (door open, etc).  
  1932.                               Invalid drive number.        
  1933.                           The disk is write protected.     
  1934.                                   Bad Request.            
  1935.  
  1936.  
  1937.              To avoid going into a lengthy description on what each error 
  1938.         message means, I'll describe a few more common types of errors.  
  1939.  
  1940.              The  number  of  disks that you can POSSIBLY  have  on  your 
  1941.         system  and  the  number  that  you  ACTUALLY  have  are  usually 
  1942.         different.   Master Key always shows you,  in the main menu,  the 
  1943.         letter range of the disks that you can possibly have.  If you try 
  1944.         to access a drive that is not in existence,  Master Key will tell 
  1945.         you  that.   You simply cannot access a drive that isn't present.  
  1946.         Users  with two floppy disk drives and no RAM disks won't be able 
  1947.         to access drives C,  D,  and E no matter how much they  try.   An 
  1948.         error  message  saying the disk does not exist is  mainly  infor-
  1949.         mational and is no reason for concern.
  1950.  
  1951.  
  1952.         The Master Key Utilities, version 1.7b                    Page 27
  1953.                      Master Key -- Disk Management Utility                     
  1954.  
  1955.  
  1956.  
  1957.              Hard  disks and many "copy protected" floppy disks  commonly 
  1958.         have  a few "bad" sectors.   If you run across one of  these  bad 
  1959.         sectors  while using the DISK function,  Master Key tells you so, 
  1960.         but  it  is again no cause for concern.   If you come  across  an 
  1961.         error  when editing a file using FILE,  there is a lot of  reason 
  1962.         for concern.  It would be much to your advantage to try to make a 
  1963.         copy of that file as soon as possible (do you have a back up copy 
  1964.         of it?), even though it may be too late to save the entire file.
  1965.  
  1966.              The  next most common problem is running Master Key on  non-
  1967.         DOS  disks.   Remember that Master Key is intended for  use  with 
  1968.         ONLY DOS DISKS.   Yes,  this means that you won't be able to look 
  1969.         at  what's  on disks from other operating systems nor  a  lot  of 
  1970.         game disks that have to be booted in drive A: to work.
  1971.  
  1972.              As  with everything however,  there is an exception to this.  
  1973.         I  briefly  tried  one disk emulation program  that  worked  well 
  1974.         enough  on  a non-DOS disk to allow me to use several  of  Master 
  1975.         Key's  functions on it without a problem.   I suggest only  using 
  1976.         the functions DISK and FILE if you do this though.  I am not sure 
  1977.         that the other functions would operate as intended.
  1978.  
  1979.              The  next  type of disk error shows up a lot when  accessing 
  1980.         damaged  and  non-DOS disks.   If Master Key finds that  the  FAT 
  1981.         identification  byte  isn't one of the several  valid  ones  when 
  1982.         trying  to read a directory,  it shows the following message in a 
  1983.         window:
  1984.  
  1985.  
  1986.                          The disk ID byte is not valid.
  1987.                          Your disk may be damaged or it
  1988.                          may not be a DOS disk.
  1989.  
  1990.  
  1991.              If  you know the disk was damaged,  what the ID byte  should 
  1992.         be,  and its correct location, you can try to edit the disk using 
  1993.         the  DISK function and make an attempt to reread  the  directory. 
  1994.         Before doing so, back up the disk if at all possible.  
  1995.  
  1996.  
  1997.                                   Other Errors
  1998.  
  1999.              Following the errors dealing with Master Key itself and your 
  2000.         disks  are the errors due to your actions or due to a conflict or 
  2001.         impossibility  somewhere.   
  2002.  
  2003.              These messages are more informative than anything else,  and 
  2004.         no  changes will be written to the current disk when you see  one 
  2005.         of these messages.  
  2006.  
  2007.              The following error message can happen in the ALTER,  ERASE, 
  2008.         and  RENAME  functions.   Before Master Key changes  a  directory 
  2009.         entry for a file,  it checks to make sure that the file is in the 
  2010.         place it expects it to be.   If you see the error message, Master 
  2011.  
  2012.  
  2013.         The Master Key Utilities, version 1.7b                    Page 28
  2014.                      Master Key -- Disk Management Utility                     
  2015.  
  2016.  
  2017.         Key  couldn't  find the file in the place it thought it  was  in.  
  2018.         This  basically means,  as the message states,  that you probably 
  2019.         changed  disks somewhere along the line and forgot to CHANGE  the 
  2020.         current drive letting Master Key know you did this.
  2021.  
  2022.  
  2023.                         File "OLD-FILE.NAM" was not found
  2024.                         You might have switched disks.
  2025.                         CHANGE disks and try again.
  2026.  
  2027.  
  2028.              Note  that  the word OLD-FILE.NAM refers to a file  on  your 
  2029.         disk,  while  the words NEW-FILE.NAM and NEW-FIL?.* refer to  new 
  2030.         file name that you typed in in response to a prompt.
  2031.  
  2032.              In the ERASE function,  you might see the following  message 
  2033.         if  you try to erase a sub-directory.   In this version of Master 
  2034.         Key, erasing a sub-directory is not allowed.
  2035.  
  2036.  
  2037.                          Master Key isn't able to erase
  2038.                          sub-directories at this time.
  2039.  
  2040.  
  2041.              The  next two error messages appear exclusively when you are 
  2042.         in the RENAME function.   The first, below, is shown when you try 
  2043.         to  rename  a  file to one that already  exists  in  the  current 
  2044.         directory.   In this example, the old file, OLD-FILE.NAM has been 
  2045.         attempted  to  be renamed to the new file NEW-FILE.NAM when  NEW-
  2046.         FILE.NAM is already a file in the directory.
  2047.  
  2048.  
  2049.                          File "OLD-FILE.NAM" cannot be
  2050.                          renamed to "NEW-FILE.NAM"; the
  2051.                          new file name already exists.
  2052.  
  2053.  
  2054.              The  error  message below shows up when you try to rename  a 
  2055.         file  to  something ambiguous.   The characters '?' and  '*'  are 
  2056.         allowed from the DOS prompt,  but unfortunately they are not from 
  2057.         within Master Key.
  2058.  
  2059.  
  2060.                          File "OLD-FILE.NAM" cannot be
  2061.                          renamed to "NEW-FIL?.*  "; '*'
  2062.                              and '?' aren't allowed.
  2063.  
  2064.  
  2065.              The last two messages are seen only while using the  UNERASE 
  2066.         function.   They  appear only when a file cannot be unerased  for 
  2067.         one reason or another.    The first message,  below, appears when 
  2068.         the  first part of a file's data has been overwritten.   In  this 
  2069.         case,  it  is  almost  impossible to easily recover  all  of  the 
  2070.         remaining data, so it simply won't be attempted.
  2071.  
  2072.  
  2073.  
  2074.         The Master Key Utilities, version 1.7b                    Page 29
  2075.                      Master Key -- Disk Management Utility                     
  2076.  
  2077.  
  2078.  
  2079.                           File "OLD-FILE.NAM" cannot be
  2080.                           unerased.  It's first cluster
  2081.                           is being used by another file.
  2082.  
  2083.  
  2084.              The  next,  and last message appears after unerasing a  file 
  2085.         was attempted.   The message indicates that there weren't  enough 
  2086.         free  clusters  on the disk to restore the file to  its  original 
  2087.         size.   When  this happens,  Master Key will not save any of  the 
  2088.         restored clusters.
  2089.  
  2090.  
  2091.                          File "'OLD-FILE.NAM" cannot be
  2092.                          unerased.  It's allocation
  2093.                          chain cannot be restored.
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129.  
  2130.  
  2131.  
  2132.  
  2133.  
  2134.  
  2135.         The Master Key Utilities, version 1.7b                    Page 30
  2136.                      Master Key -- Disk Management Utility                     
  2137.  
  2138.  
  2139.                                     WARNING !
  2140.  
  2141.  
  2142.              Master  Key is an extremely powerful program.   In order  to 
  2143.         give you the most flexibility in working with your DOS disks,  it 
  2144.         has  to  assume any changes you make are the  correct  ones.   No 
  2145.         validation of any changes is done in any way.  
  2146.  
  2147.              BEFORE  doing any work with Master Key,  I ask that you  are 
  2148.         conscious  of  the power you posses when running it and are  very 
  2149.         careful.  Master Key is able, purposefully or accidentally, to be 
  2150.         used  to  wipe out some very important parts of  your  disks  and 
  2151.         files.   The  words  "BACK  UP YOUR DATA"  cannot  be  emphasized 
  2152.         enough.   If  you  do not already back up your work on a  regular 
  2153.         basis,  make an effort to do so before trying to change something 
  2154.         important with Master Key.
  2155.  
  2156.              If you are not well acquainted with the technical details of 
  2157.         different disk and file structures, please do not select the DISK 
  2158.         or FILE functions without extreme care.   When using the DISK  or 
  2159.         FILE  functions,  double  check your changes before  making  them 
  2160.         permanent.
  2161.  
  2162.              The  areas  on  the  disk  that  should  be  avoided  unless 
  2163.         absolutely necessary are the boot record (the first sector),  the 
  2164.         FAT (the next few sectors), and any directory, including the root 
  2165.         directory.   Making  blind changes in any of these areas gives  a 
  2166.         good possibility of rendering your disks useless for other appli-
  2167.         cations.   If  you find a pertinent need to change one  of  these 
  2168.         areas,  it  would  be  a good idea to make a  backup  copy  (with 
  2169.         DISKCOPY or something similar) of your disk before you begin. 
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190.  
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196.         The Master Key Utilities, version 1.7b                    Page 31
  2197.                        Fill Disk -- Disk Message Writer
  2198.  
  2199.  
  2200.              Fill  Disk  writes any message of your choice on all of  the 
  2201.         free sectors on any disk.   It can be used to identify a disk  as 
  2202.         yours or just to place a note on a disk.
  2203.  
  2204.              The complete invocation for Fill Disk is:
  2205.  
  2206.  
  2207.              FD [d:] <message>
  2208.  
  2209.  
  2210.              If  you  wanted to fill the current disk with  the  message, 
  2211.         "Eat at Joe's", you would type:
  2212.  
  2213.              FD Eat at Joe's
  2214.  
  2215.              
  2216.              If you wanted to fill the free sectors of drive A:  with the 
  2217.         message, "This is MY computer!", type:
  2218.  
  2219.              FD A: This is MY computer!
  2220.  
  2221.              
  2222.              You  can  fill  the  free sectors of  your  disks  with  any 
  2223.         message, as long as it is 128 characters in length or less.  
  2224.  
  2225.              Once Fill Disk starts,  it shows you approximately how  many 
  2226.         sectors  it  has  left to go before all of the free  sectors  are 
  2227.         filled.  Pressing any key at any time will abort the operation of 
  2228.         Fill Disk and return you to the DOS prompt,  leaving only part of 
  2229.         the free sectors filled with your message.
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.         The Master Key Utilities, version 1.7b                    Page 32
  2258.               Un Format -- Accidental Hard Disk Format Protector        
  2259.  
  2260.  
  2261.              Un  Format  does  what  seems  impossible.   It,  when  used 
  2262.         correctly,  actually  recovers  a hard disk  from  an  accidental 
  2263.         format.   Un Format protects you from a hard disk format,  but it 
  2264.         also  protects  you from Trojan Horse programs that  modify  your 
  2265.         hard  disk's  FAT  or  root directory.   Un  Format  makes  these 
  2266.         programs and accidental formats harmless.
  2267.  
  2268.              Now,  by using Un Format,  you can breathe easier and not be 
  2269.         afraid of losing everything on your hard disk accidentally.
  2270.  
  2271.              The  complete  invocation for Un Format from the DOS  prompt 
  2272.         is:
  2273.  
  2274.              UF /SAVE or /RESTORE d: [<filename>]
  2275.  
  2276.  
  2277.         /SAVE     Save the disk.   The /SAVE option saves the drive d: in 
  2278.              the default of specified filename.
  2279.  
  2280.         /RESTORE   Restore.   The /R option restores drive  d:  from  the 
  2281.              filename specified (or the default filename). 
  2282.  
  2283.              Note:   either  /SAVE  or /RESTORE must  be  specified.   If 
  2284.              neither are specified, Un Format won't run.
  2285.  
  2286.         d:        The drive to save/restore.   In most instances, this is 
  2287.              C:, but it doesn't have to be.  Any valid drive is accepted, 
  2288.              however,  Un  Format  works correctly only  with  hard  disk 
  2289.              drives.
  2290.  
  2291.         <filename>     The name of the file to "save" drive d:  in.  This 
  2292.              parameter is optional.   If you don't specify a filename, Un 
  2293.              Format will use the default filename of B:UnFormat.10a.
  2294.  
  2295.  
  2296.              Before  using Un Format,  you should copy UF.COM on a blank, 
  2297.         formatted diskette, and use this disk as your Un Format disk.
  2298.  
  2299.              Although  Un  Format has gone through extensive  testing  to 
  2300.         make  sure  it works in all situations,  please test it  on  your 
  2301.         system  before  relying on it.   
  2302.  
  2303.              To  test Un Format,  follow these instructions or perform  a 
  2304.         similar sequence of events.
  2305.  
  2306.              1.   Backup your entire hard disk so that it can be restored 
  2307.                   after formatting if Un Format cannot restore it.
  2308.  
  2309.              2.   Save the hard disk on your Un Format disk.  
  2310.  
  2311.              3.   Using CHKDSK, see what the hard disk looks like. 
  2312.  
  2313.              4.   Format the hard disk.
  2314.  
  2315.              5.   Restore the hard disk using Un Format. 
  2316.  
  2317.  
  2318.         The Master Key Utilities, version 1.7b                    Page 33
  2319.               Un Format -- Accidental Hard Disk Format Protector        
  2320.  
  2321.  
  2322.  
  2323.              6.   Using  CHKDSK,  see what the hard disk looks like.   It 
  2324.                   should be the same as before the format. 
  2325.  
  2326.  
  2327.              What  was  typed if you followed these  instructions  should 
  2328.         look something like this:
  2329.  
  2330.              backup
  2331.              UF /SAVE c:
  2332.              chkdsk c:
  2333.              format c:
  2334.              UF /RESTORE c:
  2335.              chkdsk c:
  2336.  
  2337.  
  2338.              In  order  for Un Format to be useful,  it has  to  be  used 
  2339.         regularly.  If it isn't used often or in an organized method, it 
  2340.         won't be of any use at all.  
  2341.  
  2342.              I  recommend  two methods for using Un Format on  a  regular 
  2343.         basis.
  2344.  
  2345.              The first method is to run Un Format from your  AUTOEXEC.BAT 
  2346.         file.   By  doing  this,  you will at least always have  recently 
  2347.         saved the hard disk.   To run Un Format in the AUTOEXEC.BAT file, 
  2348.         make  sure that a formatted disk is available in  drive  B:  when 
  2349.         your  computer  starts  up.   Insert the following line  in  your 
  2350.         AUTOEXEC.BAT file:
  2351.              
  2352.              UF /SAVE c:
  2353.  
  2354.  
  2355.              The  next method is to create a .BAT file that will  run  Un 
  2356.         Format  before formatting your hard disk.  This lets you  restore 
  2357.         the  hard  disk even when you did intend to format  it.    Rename 
  2358.         FORMAT.COM  to  NEWFORMA.COM and create the  file  FORMAT.BAT  as 
  2359.         shown below.
  2360.  
  2361.              echo off
  2362.              if "%1" == ""   goto UnFormat
  2363.              if "%1" == "C:" goto UnFormat
  2364.              if "%1" == "c:" goto UnFormat
  2365.              goto formatt
  2366.              :UnFormat
  2367.              echo Insert the Un Format diskette in drive B:
  2368.              Pause
  2369.              UF /SAVE c:
  2370.              :formatt
  2371.              newforma %1
  2372.  
  2373.  
  2374.              By  using  either  of  these  two  methods,  you  should  be 
  2375.         protected from any accidental format of your hard disk.  
  2376.  
  2377.  
  2378.  
  2379.         The Master Key Utilities, version 1.7b                    Page 34
  2380.               Un Format -- Accidental Hard Disk Format Protector        
  2381.  
  2382.  
  2383.              Un  Format  can also be used to safeguard  against  programs 
  2384.         that  may alter the FAT or root directory.   These programs could 
  2385.         be Trojan Horse programs,  or they might be your own programs.  I 
  2386.         use Un Format when trying out new features for Master Key.     
  2387.  
  2388.              If  an  accidental format does happen,  put your  Un  Format 
  2389.         diskette in a floppy drive and restore the hard disk by typing:
  2390.  
  2391.              UF /RESTORE c:
  2392.  
  2393.  
  2394.              After Un Format completes, your hard disk should be restored 
  2395.         to look like it before it was formatted.
  2396.  
  2397.  
  2398.           "How can you Un Format a hard disk?  Isn't that impossible?"  
  2399.  
  2400.              No, restoring a hard disk after formatting it is not totally 
  2401.         impossible. 
  2402.  
  2403.              When  a hard disk is formatted using all versions of DOS  up 
  2404.         to  and  including DOS 3.10,  the FORMAT command does not  really 
  2405.         write over everything on the disk, it just gives that impression.  
  2406.         The  FORMAT command performs a soft format of the hard  disk.   A 
  2407.         soft format basically means that the structure of the disk  isn't 
  2408.         modified,  just rechecked. FORMAT, when run, checks the hard disk 
  2409.         for bad sectors and then  clears and rewrites the hard disk's FAT 
  2410.         and root directory.  
  2411.  
  2412.              Un Format is able to protect against an accidental hard disk 
  2413.         format by writing all of the disk information,  FAT  information, 
  2414.         and root directory in the file name specified.  
  2415.  
  2416.  
  2417.                 "Can it protect against all kinds of formatting?"
  2418.  
  2419.              Un Format unfortunately can only protect a hard disk against 
  2420.         a  format  done  by  the FORMAT command or  other  programs  that 
  2421.         perform  soft  formatting  of the hard  disk.   
  2422.  
  2423.              There are other programs that perform hard formatting of the 
  2424.         hard disk.   These programs actually change the structure of  the 
  2425.         hard   disk,   and  thus  cannot  be  protected  by  Un   Format.  
  2426.         Fortunately,  the  formatting  programs  that  Un  Format  cannot 
  2427.         protect  against typically do not automatically format your  hard 
  2428.         disk.   It  is  very unlikely that you could accidentally  format 
  2429.         your disk with one of these programs.
  2430.  
  2431.  
  2432.                   "So, why can't you Un Format a floppy disk?"
  2433.  
  2434.              Un  Format  runs just as well if the disk it  thinks  it  is 
  2435.         saving  is a floppy disk.   The difference is that you won't gain 
  2436.         anything  by restoring a floppy disk.   This is  because  FORMAT, 
  2437.         when  formatting  a  floppy disk,  actually rewrites all  of  the 
  2438.  
  2439.  
  2440.         The Master Key Utilities, version 1.7b                    Page 35
  2441.               Un Format -- Accidental Hard Disk Format Protector        
  2442.  
  2443.  
  2444.         sectors on the disk with a given fill character.   If you restore 
  2445.         a  floppy disk using Un Format,  the disk may appear to be  fine, 
  2446.         but all of the files lose all of their data and will be useless.
  2447.  
  2448.  
  2449.             "What if the file my hard disk is saved in gets changed?"
  2450.  
  2451.              Before  Un Format does any restoration of a  hard  disk,  it 
  2452.         goes  through  many exhaustive checks to make sure everything  is 
  2453.         absolutely ok.   First,  it checks to make sure that the disk you 
  2454.         are restoring and the disk that was saved are the same.  Then, Un 
  2455.         Format  checks  to  see if the file the disk  was  saved  in  has 
  2456.         changed in any way.   If anything at all is different,  Un Format 
  2457.         will not make any changes to the hard disk.   It is nearly impos-
  2458.         sible  for a corrupted or maliciously altered file to be restored 
  2459.         on a hard disk. 
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.         The Master Key Utilities, version 1.7b                    Page 36
  2502.                   Zero File -- Total File Elimination Utility               
  2503.  
  2504.  
  2505.              Zero  File completely removes any trace of a file from  your 
  2506.         disks.   It  can be used to ensure that no part of a confidential 
  2507.         file's  data  can  be  left on a disk,  or  it  can  be  used  to 
  2508.         permanently  get rid of any file.   THERE IS NO WAY TO UNERASE OR 
  2509.         RESTORE A FILE ZEROED BY ZERO FILE!
  2510.  
  2511.              The complete invocation of Zero File from the DOS prompt is:
  2512.  
  2513.  
  2514.              ZF [/KEEP] [/YES] <filename>
  2515.  
  2516.  
  2517.         /KEEP     Keep the filename.   Normally,  when Zero File zeroes a 
  2518.              file,  it  also erases its filename.   If you would like  to 
  2519.              keep  the  name visible on the disk,  use the /KEEP  option.  
  2520.              Using  this  option  will still remove  all  traces  of  the 
  2521.              file(s) selected, but its name will appear in the directory.
  2522.  
  2523.         /YES      Yes.   Before  Zero  File actually zeroes  a  file,  it 
  2524.              usually  asks you if you want to zero the file and waits for 
  2525.              you  to type "Y" or "N" before doing  anything.   Using  the 
  2526.              /YES  option  is  the  equivalent of replying  Yes  to  this 
  2527.              question.   Use /YES with a lot of caution,  especially when 
  2528.              specifying  ambiguous filenames like *.COM or *.* since  you 
  2529.              could easily and inadvertently wipe out whole directories.  
  2530.  
  2531.         <filename>      This is the name of the file(s) you want to zero.  
  2532.              This  name is entered just like you would for the DOS  erase 
  2533.              command.   The  file can be unambiguous like  LETTER.TXT  or 
  2534.              ambiguous  like LETTER.00?  or LETTER.*.   The filename  can 
  2535.              include the entire or partial directory as well as the drive 
  2536.              letter  where  the file(s) are located.   To zero  all  .BAK 
  2537.              files,  use  a filename of *.BAK.   To zero all files in the 
  2538.              \LOTUS\WORK  directory  on  drive  C:,  use  a  filename  of 
  2539.              C:\LOTUS\WORK\*.*.   To  zero all .COM files in the  current 
  2540.              directory's parent directory, use a filename of ..\*.COM.
  2541.  
  2542.  
  2543.              Any  file zeroed by zero file will lose all of its data  and 
  2544.         cannot  be  restored in any way.   The file can be Unerased  with 
  2545.         Master Key, but the Unerased file will be filled with hex 00.  Be 
  2546.         careful before zeroing any file and make sure it is the file  you 
  2547.         want  to  zero.  Once a file has been zeroed,  it has  been  lost 
  2548.         forever unless you have made a backup copy of it somewhere.
  2549.  
  2550.         THERE IS NO WAY TO UNERASE OR RESTORE A FILE ZEROED BY ZERO FILE!
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.         The Master Key Utilities, version 1.7b                    Page 37
  2563.  
  2564.  
  2565.  
  2566.                                   Program Notes
  2567.  
  2568.  
  2569.              Since  The  Master Key Utilities were conceived,  they  have 
  2570.         gone through many changes,  all starting from a simple routine to 
  2571.         draw a box.   The box drawing routine is no longer present in any 
  2572.         of the code,  but it was the reason why the programs got started.  
  2573.  
  2574.              Master Key was written and rewritten almost entirely several 
  2575.         times  to bring it to the place it is now.   After the first  few 
  2576.         versions of Master Key were introduced,  more features were asked 
  2577.         for  than  could fit into one 64k .COM file,  so Master Key  grew 
  2578.         into  The Master Key Utilities.   The Master Key  Utilities  were 
  2579.         written  entirely in TURBO pascal,  aided with a few inline  sec-
  2580.         tions of code.  
  2581.  
  2582.              As  the  model for the initial Master Key  program,  I  used 
  2583.         various  commercial and public domain utilities of the same type.  
  2584.         I  picked  out the best or most useful features from all  of  the 
  2585.         programs  I used and improved upon them wherever I saw  possible.  
  2586.         After the initial version, the features you now see in Master Key 
  2587.         as  well as in all of The Master Key Utilities were asked for  by 
  2588.         you, the users of The Master Key Utilities!
  2589.  
  2590.              Your  comments,   suggestions,   friendly  criticisms,   bug 
  2591.         reports,  and  improvement  ideas  are  always  welcome.   Please 
  2592.         feel free to contact me at the address below.  
  2593.  
  2594.                                R. P. Gage
  2595.                                1125 6th St. N. #43
  2596.                                Columbus, MS  39701
  2597.  
  2598.  
  2599.  
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.         The Master Key Utilities, version 1.7b                    Page 38
  2624.