home *** CD-ROM | disk | FTP | other *** search
/ Phoenix CD 2.0 / Phoenix_CD.cdr / 02a / pcmag1_2.zip / MANUAL1 < prev    next >
Text File  |  1989-02-18  |  82KB  |  2,079 lines

  1. @@ATTR.COM
  2. ATTR (Attribute)                       Charles Petzold
  3. Command                                          No. 1
  4. ______________________________________________________
  5.  
  6. Purpose:  ATTR.COM permits display and modification of
  7.           the archive, system, hidden, and read-only
  8.           file attributes.
  9.  
  10. Format:   ATTR
  11.             or
  12.           ATTR *.*
  13.             or
  14.           ATTR [+A|-A] [+S|-S] [+H|-H] [+R|-R]
  15.           [d:][path]filename[.ext]
  16.  
  17. Remarks:  Entering ATTR without any parameters, as in
  18.           the first format shown above, produces a help
  19.           display (essentially identical to the third
  20.           form above) that shows which file attributes
  21.           can be changed.
  22.  
  23.           ATTR.COM permits the use of the global ? and
  24.           * characters (as in the second format above).
  25.           Entering ATTR filename displays a specific
  26.           file's attributes.  For example,
  27.  
  28.                ATTR IBMBIO.COM
  29.  
  30.           returns the display
  31.  
  32.                IBMBIO.COM    Arc     Sys Hid R-O
  33.  
  34.           showing that the Archive, System, Hidden, and
  35.           Read-Only bits of the attribute byte are set
  36.           for this file.
  37.  
  38.           When wildcards are used to list the
  39.           attributes of all the files in a directory,
  40.           subdirectory names are shown as Dir (between
  41.           the Arc and Sys in the example above).
  42.           Unlike the DOS DIR command, ATTR lists hidden
  43.           files, whether sought by specified filename
  44.           or through a *.* listing.  However, ATTR does
  45.           not show Volume names or the dot and double-
  46.           dot entries in subdirectories.
  47.  
  48.           The syntax for changing file attributes is
  49.           indicated in the third format above.  After
  50.           typing ATTR (and a space) you simply precede
  51.           the file specification with a plus or minus
  52.           sign, followed by the letter A (Archive), S
  53.           (System), H (Hidden), or R (Read-Only).  A
  54.           plus sign turns on the specified attribute; a
  55.           minus sign turns it off.  More than one
  56.           attribute can be changed at once, and the
  57.           attribute-designating letters may be entered
  58.  
  59.           in any order and in upper- or lowercase.  No
  60.           space may be used between the plus or minus
  61.           and the letter that follows it, however.
  62.  
  63. Example:  To convert the file 85TAX.WKS to hidden and
  64.           read-only, you would enter
  65.  
  66.           ATTR +H +R 85TAX.WKS
  67.  
  68.           Since DOS itself normally sets the Archive
  69.           bit, entering
  70.  
  71.                 ATTR 85TAX.WKS
  72.  
  73.           would produce the display
  74.  
  75.                85TAX.WKS     Arc         Hid R-O
  76.  
  77.           Since the Hidden attribute has been set,
  78.           however, the  DIR command will produce the
  79.           message, "File not found."  And since the
  80.           Read-Only flag has also been set, a DEL
  81.           command will produce the message, "Access
  82.           denied."
  83.  
  84.           Notes:
  85.  
  86.           1.   Requires DOS 2.0 or later.
  87. @@BAC.COM
  88. BAC (Backup Directory)                  John Dickinson
  89. Command                                          No. 2
  90. _______________________________________________________
  91.  
  92. Purpose:  Backs up all (or selected) files in a
  93.           directory to hard or floppy disks, permitting
  94.           disk changes when target disks become full.
  95.  
  96. Format:   BAC [d:][path]filename[.ext] [d:][path]
  97.  
  98. Remarks:  Unlike the DOS COPY command, BAC.COM permits
  99.           you to change (formatted) target disks when
  100.           backing up files to disk.  Furthermore, it
  101.           only backs up files whose date stamp is later
  102.           than those of identically named files on the
  103.           target disk.  Unlike BACKUP, BAC does not
  104.           change the setting of the archive bit.  Also,
  105.           files copied with BAC.COM are fully usable at
  106.           all times; they do not need first to go
  107.           through a RESTORE process.
  108.  
  109.           BAC.COM supports the use of global (* and ?)
  110.           characters in filenames and extensions.  It
  111.           does not, however, permit you to REName files
  112.           during copying.
  113.  
  114. Example:  You are working at a PC AT with a hard disk
  115.           drive (C:) on which you keep your copy of
  116.           BAC.COM, and you want to back up all the .DOC
  117.           files stored on a 1.2-Mb floppy disk (drive
  118.           A:) onto  regular 360K disks (drive B:).
  119.           Since these .DOC files will require
  120.           approximately 600K, you must have two
  121.           formatted blank floppy disks ready to use in
  122.           drive B:.  From the C> prompt you enter
  123.  
  124.                BAC A: *.DOC B:
  125.  
  126.           When the first target disk in drive B: is
  127.           full, you will be prompted to change disks.
  128.  
  129.           Notes:
  130.  
  131.           1.   BAC.COM compares the date stamps of
  132.                identically named files and will not
  133.                overwrite a newer version with an older
  134.                one.  This may cause files to be skipped
  135.                if you omit to keep your date/time
  136.                current.
  137.  
  138.           2.   Requires DOS 2.0 or later.
  139. @@BROWSE.COM
  140. BROWSE                                 Charles Petzold
  141. Command                                          No. 3
  142. _______________________________________________________
  143.  
  144. Purpose   Permits scrolling forward and backward
  145.           throughout a file without use of a word
  146.           processing program.
  147.  
  148. Format:   BROWSE [d:][path]filename[.ext] [/W]
  149.  
  150. Remarks:  The DOS TYPE command does not permit you to
  151.           scroll ahead or go back to previously
  152.           displayed material in a file.  It also exits
  153.           at the first instance of Ctrl-Z (ASCII 26,
  154.           conventionally used as an End-of-File
  155.           marker), making it impossible to scan binary
  156.           (e.g. .COM) files for error messages,
  157.           copyright notices, and the like.
  158.  
  159.           BROWSE.COM overcomes these shortcomings,
  160.           giving you the chance to go immediately to
  161.           the top or to the end of a file (the Home and
  162.           End keys, respectively), to the succeeding or
  163.           previous screen (PgUp and PgDn), or to move
  164.           up or down a line at a time (Up Arrow or Down
  165.           Arrow).  To return to DOS, simply press the
  166.           Escape key or Ctrl-Break.
  167.  
  168.           Wide displays, e.g. a spreadsheet file, are
  169.           not broken at 80 columns, as with TYPE.
  170.           BROWSE ignores carriage returns (ASCII 13),
  171.           breaking lines only on line feeds (ASCII 10).
  172.           The Right Arrow key scrolls the display to
  173.           the right in eight-character increments (see
  174.           Note 3 below) to view wide displays; the Left
  175.           Arrow key returns you immediately to column
  176.           zero.
  177.  
  178.           BROWSE expands tab characters (ASCII 9) to
  179.           the next eight-character boundary, but does
  180.           no other character processing unless the /W
  181.           parameter is specified.  Use of the /W option
  182.           permits using BROWSE with WordStar files.
  183.  
  184.           Notes:
  185.  
  186.           1.   BROWSE can run under TopView or Windows;
  187.                specify "writes directly to screen" in
  188.                the .PIF and use the default 52K memory
  189.                requirement.  (The program actually
  190.                requires only approximately 33K to run.)
  191.                For the TopView PIF, specify that the
  192.                program intercepts Interrupt 23h.
  193.  
  194.           2.   BROWSE is compatible with the IBM
  195.                monochrome, CGA, and EGA displays, and
  196.                will even run in the EGA 43-line mode.
  197.                Files prepared with word-processors that
  198.                employ a one-line-per-paragraph format
  199.                (such as Microsoft Word and XyWrite) may
  200.                to require excessive right scrolling,
  201.                however.
  202.  
  203.           3.   BROWSE.COM can be patched with DEBUG so
  204.                that its right-scroll jumps by more than
  205.                the default eight characters.  The
  206.                address to patch is 10F in the .COM
  207.                file.  After entering DEBUG BROWSE.COM
  208.                type
  209.  
  210.                     E 10F
  211.  
  212.                and the default value (08h) will appear.
  213.                Type the desired hexadecimal number (28
  214.                for a 40-column increment; 50 for an 80-
  215.                column increment) and press <Enter>.
  216.                Then type W<Enter> to write to the disk
  217.                and Q<Enter> to quit DEBUG.
  218.  
  219.           4.   Requires DOS 2.0 or later.
  220. @@COLORSET.COM
  221. COLORSET (Automatic Color Setter)      Charlie Butrico
  222. Command                                          No. 4
  223. ______________________________________________________
  224.  
  225. Purpose:  Memory-resident utility that sets the
  226.           foreground, background, and border colors on
  227.           color systems, and prevents attempts by
  228.           applications software to reset these colors
  229.           to gray-on-black.
  230.  
  231. Format:   [d:][path]COLORSET FG/BG BORD
  232.  
  233. Remarks:  While dozens of small programs can set your
  234.           screen colors, many popular programs (such as
  235.           dBASE II) will reset them to a drab gray-on-
  236.           black.  The first time you execute COLORSET,
  237.           it will set your colors, remain in memory,
  238.           look for such resetting instructions, and
  239.           will instead set the colors to the ones you
  240.           specified. Later executions of COLORSET will
  241.           update the attributes only.
  242.  
  243.           FG/BG is the foreground and background color
  244.           (a decimal number from 0 to 255).  To
  245.           calculate FG/BG, multiply the number of the
  246.           background color by 16 and add the number of
  247.           the foreground color to it.
  248.  
  249. Example:  The FG/BG number for blue text on a white
  250.           background is 113, i.e., ( (7*16) + 1 ).
  251.  
  252.           The number for red text on a cyan background
  253.           is 52, i.e., ( (3*16) + 4 ).
  254.  
  255.           BORD is the border number (a decimal number
  256.           from 0 to 15).
  257.  
  258.           Keying just one number or using COLORSET on
  259.           an EGA will change only the foreground and
  260.           background colors.
  261.  
  262.           After running COLORSET, the DOS CLS command
  263.           will clear the screen to the colors you chose
  264.           rather than to the default DOS gray-on-black.
  265.  
  266.           Notes:
  267.  
  268.           1.   DOS does not permit you to use bright
  269.                background colors; trying a FG/BG number
  270.                higher than 127 will produce text that
  271.                blinks.
  272.  
  273.           2.   ======== COLOR CHART =========
  274.  
  275.                0-Black        8-Gray
  276.                1-Blue         9-Bright Blue
  277.                2-Green       10-Bright Green
  278.                3-Cyan        11-Bright Cyan
  279.                4-Red         12-Bright Red
  280.                5-Magenta     13-Bright Magenta
  281.                6-Brown       14-Yellow
  282.                7-White       15-Bright White
  283. @@DDIR.COM
  284. DDIR (Double Directory)                Charles Petzold
  285. Command                                          No. 5
  286. _______________________________________________________
  287.  
  288. Purpose:  Displays all (or selected) directory entries
  289.           in double columns, sorted in alphabetical
  290.           order.
  291.  
  292. Format:   DDIR [d:][path][filename[.ext]]
  293.  
  294. Remarks:  If no parameters are specified, DDIR will
  295.           list all files in the current directory.  Use
  296.           of the global characters ? and * in the
  297.           filename and extension parameters is
  298.           supported.
  299.  
  300.           If more than one screenful (50 entries) is
  301.           required, the display pauses at the bottom,
  302.           showing the message, "Press any key to
  303.           continue."
  304.  
  305.           Notes:
  306.  
  307.           1.   Because DDIR.COM loads a secondary
  308.                command processor, it will not operate
  309.                under the Run option of WordStar and
  310.                possibly with some other programs that
  311.                normally allow calling up external
  312.                programs.  For the same reason, it
  313.                cannot be automatically reinvoked using
  314.                the F3 key when at the DOS command
  315.                level.
  316.  
  317.           2.   Requires DOS 2.0 or later.
  318. @@DELZ.COM
  319. DELZ (Delete file entirely)             Steven Holzner
  320. Command                                          No. 6
  321. _______________________________________________________
  322.  
  323. Purpose:  Allows you to delete a file absolutely by
  324.           writing over the sector(s) it occupies.
  325.  
  326. Format:   DELZ
  327.  
  328.           then
  329.  
  330.           DEL/Z [d:][path][filename[.ext]]
  331.  
  332. Remarks:  DOS does not delete files by overwriting
  333.           them.  Rather, the sectors used by the
  334.           "erased" file are simply made available for
  335.           use by subsequently written files.  Until
  336.           they are so used, however, the original file
  337.           can be recovered with UNDEL.COM (included in
  338.           these utilities) or by using a comparable
  339.           commercial product.
  340.  
  341.           Because it overwrites the sectors used by a
  342.           file, DELZ provides complete deletion.  A
  343.           memory-resident utility, it attaches itself
  344.           to DOS when loaded, normally as a command
  345.           entered through your AUTOEXEC.BAT file.
  346.           Thereafter, until you reboot, it provides a
  347.           /Z (for "zero out") option for the DEL
  348.           command.
  349.  
  350. Example:  The disk from which you boot up your PC on
  351.           drive A: has a copy of DELZ.COM on it, and
  352.           the disk in drive B: has a file called
  353.           TAXCHEAT.85 that you wish to ensure is
  354.           completely obliterated.  From the A> prompt
  355.           you enter DELZ to load the command into
  356.           memory.  Then you enter
  357.  
  358.                DEL/Z B:TAXCHEAT.85
  359.  
  360.           Even if the TAXCHEAT.85 file is unerased, its
  361.           original contents will now be unrecoverable.
  362.           (The contents of that file will, in fact, be
  363.           the machine language code of DELZ.COM
  364.           itself.)
  365.  
  366.           Notes:
  367.  
  368.           1.   The Z in DEL/Z must be typed uppercase.
  369.                The use of the global characters ? and *
  370.                is supported.
  371.  
  372.           2.   Because of possible conflicts with other
  373.                memory-resident programs and utilities,
  374.                you must check whether DELZ can be
  375.                installed on your own system.  While
  376.                SideKick has caused no reported
  377.                difficulties, running XyWrite II or III,
  378.                with or without its XYKBD.COM file, is
  379.                impossible after DELZ is made resident.
  380.  
  381.           3.   The use of DELZ.COM is likely to be
  382.                reasonably infrequent, but sometimes it
  383.                will be absolutely necessary.  If you
  384.                find at those times that co-residency
  385.                conflicts prevent putting it in your
  386.                AUTOEXEC.BAT file, you may wish to keep
  387.                a bootable disk (formatted with the /S
  388.                option) with a copy of DELZ.COM and an
  389.                AUTOEXEC.BAT file that loads the
  390.                program.  If you then boot up from this
  391.                disk you can destroy any file(s) you
  392.                wish, remove the DELZ disk, and reboot
  393.                your computer normally.
  394.  
  395.           4.   Requires DOS 2.0 or higher.
  396. @@DISKSCAN.COM
  397. DISKSCAN                               Charles Petzold
  398. Command                                          No. 7
  399. ______________________________________________________
  400.  
  401. Purpose:  Locates and identifies disk errors on hard
  402.           and floppy disks, Bernoulli Boxes or other
  403.           similar storage devices.
  404.  
  405. Format:   DISKSCAN [d:]
  406.  
  407. Remarks:  The DOS "Abort, Retry, Ignore?" and the
  408.           CHKDSK "x lost clusters found" messages tend
  409.           to appear after it is too late to save
  410.           possibly valuable data.  Regular use of
  411.           DISKSCAN will show when a hard disk is
  412.           beginning to go bad--for example, when a
  413.           specific sector or two in an as-yet
  414.           unallocated cluster has become unusable since
  415.           the disk was formatted.  (DOS marks and does
  416.           not use bad clusters it finds while
  417.           formatting.  DISKSCAN reports these "Flagged
  418.           as bad.")
  419.  
  420.           DISKSCAN error messages include:
  421.  
  422.           CRC Error: Data checksum as recalculated
  423.                during read does not agree with checksum
  424.                stored on disk when written.
  425.           Sector Not Found: Sector boundary created
  426.                during formatting is no longer readable.
  427.           File Alloc. Table and Can't Read FAT: Very
  428.                serious error:  Back up what you can
  429.                with COPY and reformat disk before
  430.                trying to put files back on it.
  431.           Boot Sector:  If this sector of a hard disk
  432.                goes bad, put a DOS disk in drive A: and
  433.                issue SYS C: command.  Then COPY
  434.                COMMAND.COM C:.  This will put a fresh
  435.                copy of the system files on drive C:.
  436.                If this does not work, boot up again
  437.                from the external DOS floppy disk, back
  438.                up all hard disk files, and reformat the
  439.                hard disk.
  440.           Root Directory:  Errors here could keep you
  441.                from later being able to load a file or
  442.                save updates to it.  CHKDSK will
  443.                probably indicate unallocated cluster
  444.                chains or cross-linked files, and you
  445.                may have to use CHKDSK/F to save what
  446.                you can.
  447.           Unallocated:  As yet, not serious, as the bad
  448.                sector is not being used.  When it is,
  449.                though, and you try to save a file with
  450.                this sector, you'll get an "Abort,
  451.                Retry, Ignore" message.  Select "Ignore"
  452.                to save what you can, then REName the
  453.                file and save again under the new name.
  454.                Use RECOVER filename with the original
  455.                file; this will cause DOS to flag its
  456.                cluster(s) as bad.  (DISKSCAN does not
  457.                enter the bad cluster numbers in the
  458.                File Allocation Table; FORMAT and
  459.                RECOVER do.)  Then delete the original
  460.                (RECOVERed) filename and check the
  461.                second version you saved (under the new
  462.                name) to see how much (if any) of it is
  463.                usable.
  464.           Used by file: While DISKSCAN reports the bad
  465.                sector number, it does not do a cross-
  466.                check to see which of your files is
  467.                using that sector.  You may be able to
  468.                identify this by issuing the command
  469.  
  470.                     SWEEP COPY *.* NUL
  471.  
  472.                When COPY encounters the file with the
  473.                bad sector it will report "Abort, Retry,
  474.                Ignore."  Note the bad file and press
  475.                "I" to continue.
  476.           Read Fault and General Failure:  The sectors
  477.                so designated are bad, but the errors
  478.                reported don't fall into any of the
  479.                above categories.
  480.  
  481.           Notes:
  482.  
  483.           1.   Requires DOS 2.0 or higher.
  484. @@DOORS.COM
  485. DOORS                                   John Dickinson
  486. Command                                          No. 8
  487. ______________________________________________________
  488.  
  489. Purpose:  Permits switching between two simultaneously
  490.           connected displays without leaving an
  491.           application program and thereby losing the
  492.           contents of the alternate screen.
  493.  
  494. Format:   DOORS        (loads memory-resident program)
  495.           <Alt-Right Shift>  (toggles between screens)
  496.  
  497. Remarks:  When the second screen display is invoked by
  498.           pressing Alt-Right Shift, DOORS begins by
  499.           copying the first screen to the second.  The
  500.           first screen display remains resident on that
  501.           monitor, for reference, but the focus of your
  502.           work shifts to the second screen, on which
  503.           you may continue working.  If you then
  504.           subsequently switch back to the first monitor
  505.           (by pressing Alt-Right Shift again), the
  506.           second monitor's current contents will remain
  507.           on its display but will initially be copied
  508.           to the first monitor.
  509.  
  510.           Since the monochrome display cannot support
  511.           40-column text or color graphics modes, DOORS
  512.           can only be used with your color monitor set
  513.           for 80-column text mode.  In addition to
  514.           switching between monochrome and color text
  515.           modes, however, DOORS permits you to store
  516.           a screen from either a monochrome or a high-
  517.           resolution EGA text display to the other
  518.           monitor, though you must toggle back to re-
  519.           sume your work on the display from which
  520.           you started.
  521.  
  522.           Notes:
  523.  
  524.           1.   DOORS.COM may not work with
  525.                "compatibles" that do not use the same
  526.                keyboard interrupt structure as the PC.
  527.                Further, as with all memory-resident
  528.                software, it may not be compatible with
  529.                all programs.
  530.  
  531.           2.   Requires DOS 2.0 or later.
  532. @@DOS-EDIT
  533. DOS-EDIT                               Charles Petzold
  534. Command                                          No. 9
  535. ______________________________________________________
  536.  
  537. Purpose:  Permits moving to, editing, and reentering
  538.           on-screen DOS commands without retyping.
  539.  
  540. Format:   DOS-EDIT     (loads memory-resident program)
  541.                then
  542.           <Up Arrow>           (enables DOS-Edit keys)
  543.           <Left Arrow>                   (cursor left)
  544.           <Right Arrow>                 (cursor right)
  545.           <Up Arrow>                       (cursor up)
  546.           <Down Arrow>                   (cursor down)
  547.           <Backspace>          (destructive backspace)
  548.           <Ins>              (insert/overwrite toggle)
  549.           <Del>                     (delete character)
  550.           <PgDn>               (delete to end of line)
  551.           <PgUp>                  (cursor to column 1)
  552.           <Home>          (cursor to initial column #)
  553.           <Esc>           (exit edit mode, no changes)
  554.           <End>           (transfer text line right of
  555.                        cursor to end of original line)
  556.           <Enter>   (like <End>, plus execute command)
  557.  
  558. Remarks:  When loaded, normally through your
  559.           AUTOEXEC.BAT file, an initial Up Arrow
  560.           keypress activates the DOS-EDIT mode.
  561.           (Thereafter, the Up Arrow functions as a
  562.           normal cursor arrow key.)  If you move the
  563.           cursor down to the original line, you will
  564.           leave the DOS-EDIT mode (e.g., the Left Arrow
  565.           key will once again delete characters).
  566.  
  567. Example:  A typical use of DOS-EDIT is to correct a
  568.           long command line in which you made a typing
  569.           error.  Simply move the cursor up to the mis-
  570.           typed line, correct the mistake (using the
  571.           appropriate keys listed under FORMAT), press
  572.           Home (to position the cursor to pick up the
  573.           whole of the line), then Enter.
  574.  
  575.           A less obvious example occurs if you have
  576.           just done a DIR listing and want to run a
  577.           program.  Move the cursor up and just to the
  578.           right of the program name.  Press PgDn to
  579.           delete the extension and the rest of the
  580.           line, PgUp to position the cursor to pick up
  581.           the whole command name, then Enter.
  582.  
  583.           Note:
  584.  
  585.           1.   DOS-EDIT is a memory-resident program,
  586.                and so may cause conflicts with some
  587.                other memory-resident software programs.
  588.                Such problems can frequently be solved
  589.                by changing the order in which the
  590.                several memory-resident programs are
  591.                loaded.   DOS-EDIT should be loaded
  592.                before ASSIGN.COM and before SideKick,
  593.                for example.
  594. @@FREE.COM
  595. FREE                                       Art Merrill
  596. Command                                         No. 10
  597. ______________________________________________________
  598.  
  599. Purpose:  FREE.COM reports the number of unallocated
  600.           bytes on a floppy or hard disk.
  601.  
  602. Format:   FREE [d:]
  603.  
  604. Remarks:  FREE is in many respects a companion program
  605.           to SIZE.COM:  the latter tells you how much
  606.           storage space you must have to make your
  607.           copies, the former tells you how much you do
  608.           have.
  609.  
  610.           The information provided by FREE.COM is, of
  611.           course, available with the DOS commands
  612.           CHKDSK and DIR.  Where a large group of files
  613.           is involved, however, the DOS commands are
  614.           very slow in operation;  FREE is almost
  615.           instantaneous.
  616.  
  617.           Notes:
  618.  
  619.           1.   Requires DOS 2.0 or later.
  620. @@KEEPER.COM
  621. KEEPER                                  Steven Holzner
  622. Command                                         No. 11
  623. ______________________________________________________
  624.  
  625. Purpose:  Stores and displays the last ten commands
  626.           entered for immediate reexecution without
  627.           retyping.
  628.  
  629. Format:   KEEPER       (loads memory-resident program)
  630.           <Ctrl-N>            (toggles window display)
  631.  
  632. Remarks:  KEEPER can store command lines of up to 50
  633.           characters each in length.  After loading,
  634.           normally via your AUTOEXEC.BAT file, and
  635.           pressing Ctrl-N (the default trigger key; see
  636.           Option 1), the last 10 command lines are
  637.           shown in a window in the upper right-hand
  638.           corner of the display.  If you wish to
  639.           execute one of the commands shown, move to
  640.           its line with the Up Arrow and Down Arrow
  641.           keys;  the line currently selected blinks.
  642.           Pressing Ctrl-N again will reissue a blinking
  643.           command or, if no stored command line has
  644.           been selected, will return the display to
  645.           normal.
  646.  
  647.           Notes:
  648.  
  649.           1.   KEEPER is not compatible with a number
  650.                of application programs (e.g., XyWrite)
  651.                that take over the keyboard interrupts.
  652.  
  653.  
  654. Option 1: The default trigger key is Ctrl-N.  Should
  655.           this be inconvenient, you can use the
  656.           KEEPER.BAS program to recreate KEEPER.COM
  657.           with a different trigger key.  From the DOS
  658.           prompt simply enter
  659.  
  660.                BASIC KEEPER
  661.  
  662.                and the program will prompt you for your
  663.           choice of trigger key.  After the KEEPER.COM
  664.           file is created in this way, it is a regular
  665.           DOS command and is not run under BASIC.
  666. @@KEY-FAKE.COM
  667. KEY-FAKE                               Charles Petzold
  668. Command                                         No. 12
  669. ______________________________________________________
  670.  
  671. Purpose:  Supplies the series of keystrokes needed to
  672.           initialize an application program on boot-up.
  673.  
  674. Format:   KEY-FAKE ["xyz"] [nn] [0] [@F]
  675.           Programname
  676.  
  677.           Characters typed within a pair of single or
  678.           double quotes ("xyz") are normal ASCII-
  679.           character keystrokes.  Numbers (nn) not in
  680.           quote marks are ASCII decimal codes, e.g., 13
  681.           (Enter), 26 (Ctrl-Z), or 27 (Esc).  Numbers
  682.           preceded by @ are the extended ASCII decimal
  683.           codes (128 through 255) generated by the Alt
  684.           keys, cursor keys, Ins and Del keys, and the
  685.           Function keys (e.g., @61 is the F3
  686.           keystroke).  The 0 is used with programs that
  687.           check the keyboard buffer (it tells such
  688.           programs the buffer is clear, so the programs
  689.           will treat the succeeding keystroke
  690.           separately).
  691.  
  692. Remarks:  KEY-FAKE is of greatest use in batch files
  693.           used to call up application programs.  For
  694.           example, to enter Lotus's 1-2-3 and set it
  695.           for File Retrieve, the following .BAT file
  696.           would be appropriate:
  697.  
  698.           CD \LOTUS
  699.           KEY-FAKE 0 13 0 13 0 13 0 13 0 13 "/FR"
  700.           LOTUS
  701.  
  702.           This takes you past the necessary initial
  703.           carriage returns and /FR command without
  704.           having to type them in each time.
  705.  
  706.           Similarly, if each time you enter BASICA you
  707.           want to have a blue border, blue background,
  708.           and yellow letters, you would create a batch
  709.           file, B.BAT, containing the lines
  710.  
  711.           KEY-FAKE "COLOR 14,1,1" 13 "CLS" 13
  712.           BASICA
  713.  
  714.           Notes:
  715.  
  716.           1.   The keystroke sequence stored by KEY-
  717.                FAKE is limited to 124 characters and
  718.                must be on one continuous command line.
  719.                Keystrokes not supported by PC BIOS
  720.                (e.g., Alt-Home) cannot be stored.
  721.  
  722.           2.   Programs such as XyWrite II that get
  723.                keyboard information directly from the
  724.                hardware keyboard interrupt will bypass
  725.                KEY-FAKE.  KEY-FAKE will also not work
  726.                well when you are on-line using a
  727.                communications program.
  728.  
  729.           3.   KEY-FAKE is memory resident, but can be
  730.                executed multiple times in the same
  731.                session without reloading.  However, if
  732.                nested batch files cause it to be re-
  733.                invoked before its initially stored
  734.                keystroke sequence has been exhausted,
  735.                the remaining initial keystrokes will be
  736.                lost.
  737. @@LOCATE.COM
  738. LOCATE                                  Steven Holzner
  739. Command                                         No. 13
  740. ______________________________________________________
  741.  
  742. Purpose:  Searches all files in the current and the
  743.           root directories of a drive for all
  744.           occurrences of any specified sequence (e.g.,
  745.           a word or phrase) of up to 20 ASCII
  746.           characters. Additional search paths and/or
  747.           drives may be specified by using Option 1.
  748.  
  749. Format:   LOCATE searchstring
  750.  
  751. Remarks:  In addition to returning the path(s) and
  752.           filename(s) of the file(s) in which the
  753.           requested string is found, LOCATE puts
  754.           searchstring into a context of up to 20
  755.           immediately surrounding characters.
  756.  
  757.           LOCATE.COM is case sensitive;  the string to
  758.           be found must be typed exactly.  The program
  759.           does, however, strip "high-order" (non-ASCII)
  760.           bits from searchstring, so it can be used,
  761.           for example with WordStar document files.
  762.  
  763.           Note:
  764.  
  765.           1.   Requires the use of DOS 2.0 or later.
  766.  
  767. Option 1: Normally, if LOCATE does not find the
  768.           requested string either in the current
  769.           directory or in the disk's root directory, it
  770.           simply exits.  It does not automatically
  771.           search every subdirectory on every drive.
  772.  
  773.           You can extend the search range, however, by
  774.           preparing a simple ASCII file that specifies
  775.           additional paths and/or drives.  The name of
  776.           this file must be PATH.DAT, and it must be
  777.           located in the root directory (usually C:\
  778.           for hard disks, A:\ for floppies).  An
  779.           example of such a PATH.DAT file would be
  780.  
  781.           \WORK
  782.           \LEVEL1
  783.           \A:
  784.  
  785.           Each line in the PATH.DAT file must end with
  786.           a carriage return and specifies an additional
  787.           path (or drive) for LOCATE to check before it
  788.           exits.  The PATH.DAT file can be up to 300
  789.           bytes in length, and incorrectly specified
  790.           entries are ignored.
  791.  
  792.           The use of Option 1 will, of course, slow
  793.           down the overall speed of the search.
  794. @@LOCK.COM
  795. LOCK (and UNLOCK)                       Steven Holzner
  796. Commands                                        No. 14
  797. ______________________________________________________
  798.  
  799. Purpose:  Encrypts a file, rendering it unreadable to
  800.           anyone who does not know the user-chosen
  801.           passphrase.  Complementarily, using the same
  802.           passphrase, de-encrypts the file.
  803.  
  804. Format:   LOCK [d:][path]filename[.ext] [d:][path]
  805.           [filename][.ext]
  806.                        or
  807.           UNLOCK [d:][path]filename[.ext] [d:][path]
  808.           [filename][.ext]
  809.  
  810. Remarks:  The user-selected passphrase can be up to 64
  811.           characters in length; the programs prompt you
  812.           to supply it.  Files to be LOCKed and
  813.           UNLOCKed must be less than 62K in length.  If
  814.           you do not supply new filenames for the
  815.           locked and unlocked files, the programs use
  816.           the default filename FILE.LOC.
  817.  
  818. Example:  You have a file of student course evaluations
  819.           named CONFY on drive C: that you wish to mail
  820.           to a colleague in encrypted form.  You put a
  821.           formatted floppy disk in drive A:, and at the
  822.           C> prompt you enter
  823.  
  824.                LOCK CONFY A:CRIMSON
  825.  
  826.           When the program asks for a passphrase, you
  827.           enter VERITAS.
  828.  
  829.           The CRIMSON file on the disk will be
  830.           unreadable.  When your colleague--who must,
  831.           of course, be told the passphrase you have
  832.           used--puts the disk in his machine, he types
  833.  
  834.                UNLOCK CRIMSON GUIDE
  835.  
  836.           When prompted, he supplies the passphrase
  837.           VERITAS, and his file GUIDE will be identical
  838.           to your original file CONFY.
  839.  
  840.           Notes:
  841.  
  842.           1.   LOCK and UNLOCK do not delete any files,
  843.                original or encoded.
  844.  
  845.           2.   Requires DOS version 2.0 or later.
  846. @@UNLOCK.COM
  847. UNLOCK (and LOCK)                       Steven Holzner
  848. Commands                                        No. 14
  849. ______________________________________________________
  850.  
  851. Purpose:  Encrypts a file, rendering it unreadable to
  852.           anyone who does not know the user-chosen
  853.           passphrase.  Complementarily, using the same
  854.           passphrase, de-encrypts the file.
  855.  
  856. Format:   LOCK [d:][path]filename[.ext] [d:][path]
  857.           [filename][.ext]
  858.                        or
  859.           UNLOCK [d:][path]filename[.ext] [d:][path]
  860.           [filename][.ext]
  861.  
  862. Remarks:  The user-selected passphrase can be up to 64
  863.           characters in length; the programs prompt you
  864.           to supply it.  Files to be LOCKed and
  865.           UNLOCKed must be less than 62K in length.  If
  866.           you do not supply new filenames for the
  867.           locked and unlocked files, the programs use
  868.           the default filename FILE.LOC.
  869.  
  870. Example:  You have a file of student course evaluations
  871.           named CONFY on drive C: that you wish to mail
  872.           to a colleague in encrypted form.  You put a
  873.           formatted floppy disk in drive A:, and at the
  874.           C> prompt you enter
  875.  
  876.                LOCK CONFY A:CRIMSON
  877.  
  878.           When the program asks for a passphrase, you
  879.           enter VERITAS.
  880.  
  881.           The CRIMSON file on the disk will be
  882.           unreadable.  When your colleague--who must,
  883.           of course, be told the passphrase you have
  884.           used--puts the disk in his machine, he types
  885.  
  886.                UNLOCK CRIMSON GUIDE
  887.  
  888.           When prompted, he supplies the passphrase
  889.           VERITAS, and his file GUIDE will be identical
  890.           to your original file CONFY.
  891.  
  892.           Notes:
  893.  
  894.           1.   LOCK and UNLOCK do not delete any files,
  895.                original or encoded.
  896.  
  897.           2.   Requires DOS version 2.0 or later.
  898. @@LPTPORT.COM
  899. LPTPORT                                 John Dickinson
  900. Command                                         No. 15
  901. _______________________________________________________
  902.  
  903. Purpose:  Permits alternate use of two parallel
  904.           printers (e.g., letter- and draft-quality
  905.           units) with software that is normally limited
  906.           to using LPT1:.
  907.  
  908. Format:   LPTPORT
  909.  
  910. Remarks:  Certain software, e.g., the PC-DOS Shift-
  911.           PrtSc routine, does not recognize a command
  912.           such as
  913.  
  914.           A>MODE LPT1:=LPT2:
  915.  
  916.           To use such software with two different
  917.           printers normally requires changing physical
  918.           connections.
  919.  
  920.           LPTPORT.COM provides a software toggle that
  921.           interchanges the internal DOS I/O addresses
  922.           of LPT1: and LPT2:.  After entering the
  923.           LPTPORT command, a second printer, connected
  924.           to LPT2:, will receive program output
  925.           nominally directed to LPT1:.  Entering the
  926.           LPTPORT command a second time restores the
  927.           original port assignments.
  928.  
  929.           Notes:
  930.  
  931.           1.   Certain internal print-spooling
  932.                programs, such as those supplied with
  933.                add-on memory board cards, read the port
  934.                address assignments at boot-up time and
  935.                do not thereafter look at the low-memory
  936.                area of DOS to find them.  With such
  937.                programs you will have to run LPTPORT
  938.                before the print spoolers are loaded in
  939.                order to change the effective port
  940.                assignments.
  941. @@MONOGRAF.DRV
  942. MONOGRAF.DRV                           Charles Petzold
  943. Lotus's 1-2-3 (Version 1A) driver               No. 16
  944. ______________________________________________________
  945.  
  946. Purpose:  Displays 1-2-3 bar and stacked-bar graphs on
  947.           a monochrome monitor.
  948.  
  949. Format:   COPY MONOGRAF.DRV [drive:][path] GD.DRV
  950.  
  951.           Note: the [drive:] and [path] above refer to
  952.           your Lotus system disk or subdirectory path.
  953.   
  954.           Note also:  When using MONOGRAF, specify
  955.           Color, not Black-and-White, from the 1-2-3
  956.           graph options menu.
  957.  
  958. Remarks:  Displaying the numbers in a 1-2-3 worksheet
  959.           in graph form normally requires using either
  960.           a color/graphics adaptor (CGA) and monitor
  961.           or--for users who have only a monochrome
  962.           system--the use of a Hercules (or equivalent)
  963.           card.
  964.  
  965.           MONOGRAF.DRV is installed in 1-2-3 just as if
  966.           it were a Lotus-supplied GD (graphics driver)
  967.           program.
  968.  
  969.           Notes:
  970.  
  971.           1.   MONOGRAF can display only bar or
  972.                stacked-bar graphs.
  973.  
  974.           2.   To display graphs, use Function key 10,
  975.                as the Lotus manual directs.  Use this
  976.                key only in the Worksheet mode, not in
  977.                conjunction with the 1-2-3 PrintGraph
  978.                program.  You can, however, use Shift-
  979.                PrtSc to print out the screen display on
  980.                any printer that can handle the IBM
  981.                text-graphics character set.
  982. @@MOVE.COM
  983. MOVE                                    Steven Holzner
  984. Command                                         No. 17
  985. ______________________________________________________
  986.  
  987. Purpose:  Allows rapid selection and copying of files
  988.           to or from a double-sided floppy disk, a
  989.           RAMdisk, or the current subdirectory of a
  990.           hard disk.
  991.  
  992. Format:   MOVE [d:]filename[.ext] d:
  993.  
  994. Remarks:  MOVE.COM was written to be compatible with
  995.           all versions of PC-DOS (including 1.1), and
  996.           so does not support pathnames.
  997.  
  998. Example:  When you enter a command such as
  999.  
  1000.                MOVE A:*.BAS B:
  1001.  
  1002.           each filename on the root (or current)
  1003.           directory of drive A: that has a .BAS
  1004.           extension will be displayed in the form
  1005.  
  1006.           Copy filename.BAS (Y/N)?
  1007.  
  1008.           If you strike Y, the file will immediately be
  1009.           copied to drive B: and the next appropriate
  1010.           filename will be displayed.  If you strike N,
  1011.           the file will not be copied, and the next
  1012.           appropriate filename will be presented.  The
  1013.           program terminates with a simple return to
  1014.           the DOS prompt when no appropriate files
  1015.           remain to be considered.
  1016. @@NO.COM
  1017. NO                                     Charles Petzold
  1018. Command                                         No. 18
  1019. ______________________________________________________
  1020.  
  1021. Purpose:  Excludes specified files in a subdirectory
  1022.           from the action of a command.
  1023.  
  1024. Format:   NO filespec Command [parameter]
  1025.  
  1026. Remarks:  NO.COM is designed for situations in which
  1027.           you want to apply a command such as DELete or
  1028.           COPY to all the files in a directory except
  1029.           one or two (or a class of) files.  For
  1030.           example,
  1031.  
  1032.                NO *.BAS COPY *.* A:
  1033.  
  1034.           copies all the files in your current
  1035.           subdirectory to drive A: except for those
  1036.           that have a .BAS extension.
  1037.  
  1038.           To exclude more than one file (or category)
  1039.           you must use a separate NO command for each
  1040.           on the command line.  Thus,
  1041.  
  1042.                NO *.ASM NO *.COM DEL *.*
  1043.  
  1044.           deletes all files in the current directory
  1045.           except those with .ASM or .COM extensions.
  1046.  
  1047.           Notes:
  1048.  
  1049.           1.   NO.COM should not be used in conjunction
  1050.                with the PC-DOS BACKUP and RESTORE
  1051.                commands.  This is because NO operates
  1052.                by temporarily setting the "hidden" file
  1053.                attribute bit on the files to be
  1054.                excluded from the main command, then
  1055.                unhiding the files after the main
  1056.                command has been executed.  Since the
  1057.                DOS BACKUP/RESTORE operation acts on
  1058.                hidden and unhidden files alike, NO.COM
  1059.                cannot be used to exclude files from
  1060.                BACKUP/RESTORE.  RESTORE, indeed, will
  1061.                restore the supposedly excluded files as
  1062.                hidden, overwriting the originals.
  1063.  
  1064.           2.   While NO.COM provides full path support
  1065.                (and so requires the use of DOS 2.0 or
  1066.                later), it is a good policy when using
  1067.                NO to use CHDIR to make the directory
  1068.                that contains the files on which you
  1069.                wish to operate the current directory.
  1070.  
  1071.                For example, suppose you are in your
  1072.                root directory, one of whose subdirec-
  1073.                tories is \BASIC.  If you were to enter
  1074.                the command
  1075.  
  1076.                     NO *.BAS DEL \BASIC\*.*
  1077.  
  1078.                you would not delete all the files in
  1079.                the \BASIC subdirectory except those
  1080.                with a .BAS extension, as you might have
  1081.                intended to do.  To do this from the
  1082.                root directory you would have had to
  1083.                enter
  1084.  
  1085.                     NO \BASIC\*.BAS DEL \BASIC\*.*
  1086.  
  1087.                This complete filespec would tell NO
  1088.                that it had to protect files in the
  1089.                \BASIC, not in the current (i.e., root)
  1090.                directory.
  1091.  
  1092.                If you follow our recommendation and
  1093.                enter
  1094.  
  1095.                     CD \BASIC
  1096.                     NO *.BAS DEL *.*
  1097.  
  1098.                thus making \BASIC your current
  1099.                directory before you start deleting, you
  1100.                will then clean out all but the .BAS
  1101.                files, just as you intended.
  1102.  
  1103.           3.   Should a parity check error, power
  1104.                outage, or system crash occur during the
  1105.                brief period between the times NO hides
  1106.                and subsequently unhides the protected
  1107.                files, those files will subsequently
  1108.                seem to have disappeared.  They are not
  1109.                lost; only hidden from a DIR listing.
  1110.                Use ATTR.COM (included in this set of
  1111.                utilities) to change their hidden
  1112.                status.
  1113. @@NPAD.COM
  1114. NPAD (Notepad)                          Steven Holzner
  1115. Command                                         No. 19
  1116. ______________________________________________________
  1117.  
  1118. Purpose:  Creates an on-screen window in which to keep
  1119.           notes while working in other programs.
  1120.  
  1121. Format:   NPAD         (loads memory-resident program)
  1122.           <Ctrl-N>            (toggles notepad on/off)
  1123.  
  1124. Remarks:  The NPAD notepad holds 10 lines of 25
  1125.           characters each.  The window is toggled on
  1126.           and off in the upper right corner of the
  1127.           screen.  Toggling the window off does not
  1128.           eliminate its contents, but pressing the
  1129.           Delete key while the window is on-screen
  1130.           does.  Single characters may be deleted with
  1131.           the backspace, and the carriage return is
  1132.           also recognized.  No provision for storing
  1133.           the contents of the notepad as a file are
  1134.           available, however.
  1135.  
  1136.           Option 1: NPAD.COM can be modified by using
  1137.           DEBUG.  The ASCII and scan codes for the
  1138.           default trigger key (Ctrl-N) are 0Eh and 31h,
  1139.           respectively, and are located at the offset
  1140.           addresses xxxx:0336 and xxxx:0337.  To change
  1141.           these to use the reverse apostrophe (grave
  1142.           accent), you would enter
  1143.  
  1144.                DEBUG NPAD.COM
  1145.  
  1146.           and
  1147.  
  1148.                -E 336
  1149.  
  1150.           DEBUG will respond with
  1151.  
  1152.           xxxx:0336  0E.
  1153.  
  1154.           and you simply type in the new ASCII code, in
  1155.           this case, 60 (the hex value of decimal 96).
  1156.  
  1157.           After entering E 337 and getting the response
  1158.  
  1159.           xxxx:0337  31.
  1160.  
  1161.           you type in the new scan code 29 (41 decimal)
  1162.           for the grave accent.  Other ASCII and scan
  1163.           codes are given in the BASIC and in the DOS
  1164.           Technical Reference manuals.
  1165.  
  1166.           The two locations to examine and change for
  1167.           the NPAD colors are 02FF and 0413, which have
  1168.           a default value of 70h (112 decimal).  On a
  1169.           color monitor this produces a white (7)
  1170.           background with black (0) characters.  For
  1171.           red letters on white you would change the 70h
  1172.           to 74h (116 decimal) at these two locations.
  1173.           The colors to which NPAD resets its portion
  1174.           of the screen on exit are set by the value at
  1175.           xxxx:0350h.  The default value is 07 (white
  1176.           characters on a black background).  For white
  1177.           letters on a dark blue background, change the
  1178.           07 to 17h (23 decimal); for dark blue letters
  1179.           on white, use 71h (113 decimal) at this location.
  1180.  
  1181.           When you have made the changes you want, at
  1182.           the DEBUG hyphen prompt enter W and then Q.
  1183.  
  1184.           Notes:
  1185.  
  1186.           1.   NPAD is a memory-resident program that
  1187.                must scan the keyboard interrupts.  It
  1188.                will conflict with applications programs
  1189.                (e.g., XyWrite) that themselves
  1190.                commandeer the keyboard interrupts.
  1191. @@ONEKEY.COM
  1192. ONEKEY                                  Steven Holzner
  1193. Command (after running .BAS version)            No. 20
  1194. ______________________________________________________
  1195.  
  1196. Purpose:  Reassigns a designated series of keystrokes
  1197.           to a user-selected keystroke.
  1198.  
  1199. Format:   ONEKEY
  1200.  
  1201. Remarks:  ONEKEY is a memory-resident keyboard macro
  1202.           program.  While written in assembly language,
  1203.           it is presented here with a BASIC interface
  1204.           that need be run only once, but which
  1205.           facilitates entering the trigger keys you
  1206.           want to use and the sequences of keystrokes
  1207.           they will replace.  ONEKEY will accept up to
  1208.           30 different trigger keys, each of which will
  1209.           replace up to 50 keystrokes.
  1210.  
  1211.           When you load and run ONEKEY.BAS in BASIC,
  1212.           you will prompted to "Type the key to be
  1213.           replaced."  This will be a key you use as a
  1214.           trigger:  Ctrl-N, Alt-Z, F1, or the like.
  1215.           When you enter this key, you will be
  1216.           prompted, "The command that replaces this key
  1217.           is."  Here you enter the string of keystrokes
  1218.           the selected trigger key will execute.
  1219.           Remember to include all necessary carriage
  1220.           returns, spaces, and control characters, just
  1221.           as you would enter them at the keyboard.
  1222.           When you type Ctrl-End (not a carriage
  1223.           return) to terminate this sequence, you'll be
  1224.           prompted for the next trigger key, and so on.
  1225.  
  1226.           When you have typed in as many macros as you
  1227.           want, type Ctrl-End when asked for a trigger
  1228.           key.  It takes BASIC about half a minute to
  1229.           create the ONEKEY.COM file.
  1230.  
  1231.           Once created, ONEKEY is a regular DOS
  1232.           command;  you enter it at the DOS prompt (or
  1233.           as a line in your AUTOEXEC.BAT file), not
  1234.           from BASIC.
  1235.  
  1236.           Notes:
  1237.  
  1238.           1.   Memory-resident utilities such as ONEKEY
  1239.                are often incompatible with programs
  1240.                (XyWrite is one) that themselves take
  1241.                over the keyboard interrupts.  You must
  1242.                simply experiment to see if ONEKEY can
  1243.                be used with your software.
  1244.  
  1245.           2.   Requires DOS 2.0 or later.
  1246. @@PR.COM
  1247. PR (Print)                              John Dickinson
  1248. Command                                         No. 21
  1249. ______________________________________________________
  1250.  
  1251. Purpose:  Prints the standard ASCII files of program
  1252.           listings according to a standard formatted
  1253.           style.
  1254.  
  1255. Format:   PR [d:][path]filename[.ext]
  1256.  
  1257. Remarks:  PR.COM formats the program listing into 80
  1258.           columns, expands ASCII tabs, adds a seven-
  1259.           line header and a blank footer, and prints 55
  1260.           lines of the listing on each 66-line page.
  1261.           The header contains the filename, page
  1262.           number, and date and time the program was
  1263.           last saved.
  1264.  
  1265.           Notes:
  1266.  
  1267.           1.   The listings photoreproduced in PC
  1268.                Magazine's Programming/Utilities column
  1269.                are printed using PR.COM.
  1270.  
  1271.           2.   Requires use of DOS 2.0 or later.
  1272. @@PRSWAP.COM
  1273. PRSWAP                                  John Dickinson
  1274. Command                                         No. 22
  1275. ______________________________________________________
  1276.  
  1277. Purpose:  Converts IBM text-graphics characters into
  1278.           ASCII characters that can be printed by non-
  1279.           graphics printers.
  1280.  
  1281. Format:   PRSWAP
  1282.  
  1283. Remarks:  The IBM text-graphics characters (non-
  1284.           standard ASCII 176-223 and 254) programmers
  1285.           often use to make their screen displays look
  1286.           more attractive cannot be handled by many
  1287.           printers.  PRSWAP.COM is a memory-resident
  1288.           program that translates these characters into
  1289.           presentable-looking ASCII substitutes.
  1290.  
  1291.           PRSWAP should be loaded only once until you
  1292.           power down or hit Ctrl-Alt-Del.  If you
  1293.           intend to use it regularly, the best place to
  1294.           put it is in your AUTOEXEC.BAT file.
  1295. @@PUSHDIR.COM
  1296. PUSHDIR (and POPDIR)                       John Friend
  1297. Commands                                        No. 23
  1298. ______________________________________________________
  1299.  
  1300. Purpose:  Provides a way to return automatically to
  1301.           your current directory after running programs
  1302.           that require directory changing.
  1303.  
  1304. Format:   PUSHDIR
  1305.           [CD \AltDir\ProgName]
  1306.           POPDIR
  1307.  
  1308. Remarks:  While PUSHDIR and POPDIR can be entered
  1309.           directly from the DOS prompt, their primary
  1310.           application is in batch files.  For example,
  1311.           suppose you create a file named 12.BAT that
  1312.           consists of the following four lines:
  1313.  
  1314.                PUSHDIR
  1315.                CD\LOTUS
  1316.                123
  1317.                POPDIR
  1318.  
  1319.           Suppose also that 12.BAT, PUSHDIR.COM, and
  1320.           POPDIR.COM are either in your root directory
  1321.           or in a subdirectory on the PATH specified in
  1322.           your AUTOEXEC.BAT file.  Assume, finally,
  1323.           that you are currently in your word
  1324.           processing subdirectory (\WP), but need some
  1325.           information from a 1-2-3 spreadsheet.  If you
  1326.           now enter
  1327.  
  1328.                12<CR>
  1329.  
  1330.           from the DOS prompt, PUSHDIR stores the \WP
  1331.           (your current directory) on its stack and DOS
  1332.           changes to the \LOTUS subdirectory and runs
  1333.           1-2-3.  When you exit from 1-2-3, you would
  1334.           normally be left in the \LOTUS subdirectory.
  1335.           A DOS CD command in 12.BAT after the 123 line
  1336.           could return you to a specified directory
  1337.           every time you terminated 1-2-3, of course.
  1338.           But POPDIR returns you to whatever
  1339.           subdirectory you were in when you invoked 1-
  1340.           2-3--in this case, to your \WP subdirectory.
  1341.  
  1342.           PUSHDIR can accommodate up to six levels of
  1343.           directories on its stack, permitting
  1344.           considerable programming flexibility in
  1345.           constructing batch files.
  1346.  
  1347.           Notes:
  1348.  
  1349.           1.   PUSHDIR and POPDIR require DOS 2.0 or
  1350.                later.
  1351. @@POPDIR.COM
  1352. POPDIR (and PUSHDIR)                       John Friend
  1353. Commands                                        No. 23
  1354. ______________________________________________________
  1355.  
  1356. Purpose:  Provides a way to return automatically to
  1357.           your current directory after running programs
  1358.           that require directory changing.
  1359.  
  1360. Format:   PUSHDIR
  1361.           [CD \AltDir\ProgName]
  1362.           POPDIR
  1363.  
  1364. Remarks:  While PUSHDIR and POPDIR can be entered
  1365.           directly from the DOS prompt, their primary
  1366.           application is in batch files.  For example,
  1367.           suppose you create a file named 12.BAT that
  1368.           consists of the following four lines:
  1369.  
  1370.                PUSHDIR
  1371.                CD\LOTUS
  1372.                123
  1373.                POPDIR
  1374.  
  1375.           Suppose also that 12.BAT, PUSHDIR.COM, and
  1376.           POPDIR.COM are either in your root directory
  1377.           or in a subdirectory on the PATH specified in
  1378.           your AUTOEXEC.BAT file.  Assume, finally,
  1379.           that you are currently in your word
  1380.           processing subdirectory (\WP), but need some
  1381.           information from a 1-2-3 spreadsheet.  If you
  1382.           now enter
  1383.  
  1384.                12<CR>
  1385.  
  1386.           from the DOS prompt, PUSHDIR stores the \WP
  1387.           (your current directory) on its stack and DOS
  1388.           changes to the \LOTUS subdirectory and runs
  1389.           1-2-3.  When you exit from 1-2-3, you would
  1390.           normally be left in the \LOTUS subdirectory.
  1391.           A DOS CD command in 12.BAT after the 123 line
  1392.           could return you to a specified directory
  1393.           every time you terminated 1-2-3, of course.
  1394.           But POPDIR returns you to whatever
  1395.           subdirectory you were in when you invoked 1-
  1396.           2-3--in this case, to your \WP subdirectory.
  1397.  
  1398.           PUSHDIR can accommodate up to six levels of
  1399.           directories on its stack, permitting
  1400.           considerable programming flexibility in
  1401.           constructing batch files.
  1402.  
  1403.           Notes:
  1404.  
  1405.           1.   PUSHDIR and POPDIR require DOS 2.0 or
  1406.                later.
  1407. @@QUICKEYS.COM
  1408. QUICKEYS                                   Leo Forrest
  1409. Command                                         No. 24
  1410. ______________________________________________________
  1411.  
  1412. Purpose:  Accelerates the "typematic" repeat rate of a
  1413.           PC or XT keyboard.  A built-in subprogram is
  1414.           included that instantly clears the keyboard
  1415.           buffer to prevent sending excess accumulated
  1416.           keystrokes to the display.
  1417.  
  1418. Format:   QUICKEYS     (loads memory-resident program)
  1419.           <Alt-Shift>         (clears keyboard buffer)
  1420.  
  1421. Remarks:  While the keystroke repetition rate of the PC
  1422.           AT is adjustable, that of the XT and the PC
  1423.           is fixed at approximately nine keystrokes per
  1424.           second.  When QUICKEYS is loaded (normally
  1425.           through your AUTOEXEC.BAT file), the
  1426.           repetition speed is approximately doubled.
  1427.           Successive loadings of QUICKEYS (each
  1428.           requires about 672 bytes of memory) can be
  1429.           used to increase the keyboard speed still
  1430.           further, if desired.
  1431.  
  1432.           Notes:
  1433.  
  1434.           1.   QUICKEYS is a memory-resident program
  1435.                that inserts itself both into the timer
  1436.                tick and keyboard interrupt routines.
  1437.                It is not compatible with some other
  1438.                memory-resident software and with
  1439.                programs that appropriate the keyboard
  1440.                interrupts.
  1441. @@RED.COM
  1442. RED (Redirect)                          John Dickinson
  1443. Command                                         No. 25
  1444. _______________________________________________________
  1445.  
  1446. Purpose:  Transfers one (or more) file(s) from one
  1447.           subdirectory to another without requiring the
  1448.           use of COPY and ERASE.
  1449.  
  1450. Format:   RED [d:][path]filename[.ext] [d:][path]
  1451.  
  1452. Remarks:  Like the DOS COPY command, RED.COM supports
  1453.           the use of the global characters ? and * in
  1454.           specifying the desired source files.
  1455.  
  1456.           Unlike COPY, however, RED.COM does not permit
  1457.           renaming a file during the transfer process.
  1458.           (This is why it is unnecessary to supply a
  1459.           target filename.)  Furthermore, RED requires
  1460.           that the source and target drives be the
  1461.           same.  You cannot, therefore, remove a set of
  1462.           files from drive C: by trying to REDirect
  1463.           them to drive A:.
  1464.  
  1465. Example:  Before submitting your income tax you
  1466.           calculated it under several different
  1467.           methods, contained in files named ROUGH1.DAT
  1468.           through ROUGH6.WKS.  These are all in the
  1469.           subdirectory \IRS on drive C:, and you want
  1470.           to move them all to a sub-subdirectory (which
  1471.           you have created) called \1985TAX\DRAFTS.
  1472.           From the C> prompt enter
  1473.  
  1474.                \IRS\ROUGH?.* \1985TAX\DRAFTS
  1475.  
  1476.           and all six files will be moved out of \IRS
  1477.           and into \1985\DRAFTS.
  1478.  
  1479.           Note:
  1480.  
  1481.           1.   Requires DOS 2.0 or later.
  1482. @@RENDIR.COM
  1483. RENDIR (Rename Directory)               John Dickinson
  1484. Command                                         No. 26
  1485. ______________________________________________________
  1486.  
  1487. Purpose:  Permits renaming subdirectories directly,
  1488.           without creating a new directory, moving the
  1489.           contents of the old one into it, and then
  1490.           removing the old directory.
  1491.  
  1492. Format:   RENDIR [d:][path]oldname[.ext] newname[.ext]
  1493.  
  1494. Remarks:  PC-DOS has always provided a REName command
  1495.           for filenames, but not for directories.  A
  1496.           bug in DOS 3.0 permits you to use the
  1497.           immediate mode of BASIC to
  1498.  
  1499.                NAME olddir AS newdir
  1500.  
  1501.           but this bug has been removed from subsequent
  1502.           DOS versions.  RENDIR.COM permits renaming
  1503.           directories in DOS 3.0 and later.
  1504.  
  1505.           While RENDIR allows you to change the name of
  1506.           a directory on another drive than your
  1507.           current one, it does not permit you to
  1508.           transfer a directory to another drive by
  1509.           RENDIRing it.  Thus, for example, if you are
  1510.           on drive C: and have a directory on drive D:
  1511.           named \TAXES, from the C> prompt you can
  1512.  
  1513.                RENDIR D:\TAXES \TAXES85
  1514.  
  1515.           You cannot, however
  1516.  
  1517.                RENDIR D:\TAXES C:\TAXES85
  1518.  
  1519.           Furthermore, you should not use RENDIR to try
  1520.           to change the name of the subdirectory you
  1521.           are currently in.
  1522.  
  1523.           Notes:
  1524.  
  1525.           1.   Unlike RENAME, RENDIR does not support
  1526.                use of the ? and * wildcard characters.
  1527.  
  1528.           2.   Requires DOS 3.0 or higher.
  1529. @@SETUP.COM
  1530. SETUP                                     Jeff Prosise
  1531. Command                                         No. 27
  1532. ______________________________________________________
  1533.  
  1534. Purpose:  Permits menu-oriented selection and immediate
  1535.           transmission of printer control codes from
  1536.           within a running application program.
  1537.  
  1538. Format:   SETUP            (loads command into memory)
  1539.           <Ctrl-Right Shift>          (activates menu)
  1540.           <[Shift]<Fx>      (selects [deselects] mode)
  1541.           <Esc>            (activates selection(s) and
  1542.                        returns to application program)
  1543.  
  1544.           Fx is a Function key (F1 through F10) that
  1545.           sends the required control sequence to the
  1546.           printer.  Shift-Fx toggles the selected
  1547.           printer mode off.
  1548.  
  1549. Remarks:  After loading SETUP (normally via your
  1550.           AUTOEXEC.BAT file), the printer mode
  1551.           selection menu program is displayed by
  1552.           pressing the Ctrl-Right Shift key
  1553.           combination.  This can be done from within
  1554.           application programs that do not take over
  1555.           the keyboard interrupts; the application is
  1556.           simply suspended until you leave SETUP by
  1557.           pressing the Esc key.  (Application programs
  1558.           such as XyWrite III that do take over the
  1559.           keyboard interrupts can be used with
  1560.           SETUP.COM if they themselves provide the
  1561.           option of temporarily returning to DOS
  1562.           control.)
  1563.  
  1564.           Printer permitting, more than one mode can be
  1565.           selected at once by pressing additional
  1566.           function keys.  The default printer choices
  1567.           are for the Epson RX/FX series.  Option 1
  1568.           shows how to modify the program for other
  1569.           printers.
  1570.  
  1571.           Notes:
  1572.  
  1573.           1.   SETUP.COM is a memory-resident program
  1574.                (approximately 3K in length), and so is
  1575.                subject to conflicts with other memory-
  1576.                resident software.  Several users have
  1577.                reported that it is incompatible with
  1578.                Prokey, for example.  Similarly, while
  1579.                SETUP.COM is compatible with SideKick,
  1580.                the combination of SuperKey and SideKick
  1581.                has been reported to be incompatible.
  1582.  
  1583. Option 1: If you have access to an IBM or Microsoft
  1584.           macro assembler, the easiest way to modify
  1585.           SETUP for other printers (or to use LPT2: or
  1586.           LPT3: instead of LPT1:) is to call up the
  1587.           SETUP.ASM file (included with these
  1588.           utilities) in any ASCII word processor.  You
  1589.           can then make your modifications and
  1590.           reassemble the file.
  1591.  
  1592.           Even if you do not have a macro assembler and
  1593.           must therefore use DEBUG.COM to modify
  1594.           SETUP.COM directly, print out and read the
  1595.           SETUP.ASM file.  It is heavily commented, and
  1596.           will give you a good idea of how the
  1597.           different menu strings and printer control
  1598.           strings are organized.  Note, however, that
  1599.           the specific values shown in SETUP.ASM are in
  1600.           decimal notation; values entered via DEBUG
  1601.           must be in hexadecimal notation.
  1602.  
  1603.           The following offset addresses, not those
  1604.           originally published in PC Magazine, should
  1605.           be used:
  1606.  
  1607.           The menu color attributes (4F and 70) are at
  1608.           offsets xxxx:013F and xxxx:0140.
  1609.  
  1610.           To change the port number from LPT1: to LPT2:
  1611.           (or LPT3:) change the default 00 at xxxx:0C7A
  1612.           and at xxxx:0C84 to 01 (or 02).
  1613.  
  1614.           The start of the menu text table (532 bytes,
  1615.           beginning with C9) is at offset xxxx:0151.
  1616.           The "P" in PRINTER SETUP MENU" is at
  1617.           xxxx:0172.
  1618.  
  1619.           The printer control strings themselves begin
  1620.           at xxxx:09A1.  Each function key (and each
  1621.           shifted function key, with the exception of
  1622.           F19 and F20) can be assigned a string up to
  1623.           16 bytes long.  Each string must include a
  1624.           delimiter of FF (255 decimal) that marks the
  1625.           end of the string.  The beginning of the
  1626.           string for each successive function key
  1627.           starts at an address that is a multiple of 16
  1628.           bytes above the base address (xxxx:09A1) of
  1629.           the table.  You must pad the strings with
  1630.           zeros for any locations that are not used by
  1631.           actual control codes, so that each string
  1632.           begins on a 16-byte boundary.
  1633. @@SIZE.COM
  1634. SIZE (and ATSIZE)                          Art Merrill
  1635. Command(s)                                      No. 28
  1636. ______________________________________________________
  1637.  
  1638. Purpose:  Calculates the storage requirements of a file
  1639.           or group of files, based on the number of DOS
  1640.           clusters necessary to make floppy disk and
  1641.           hard disk copies.
  1642.  
  1643. Format:   SIZE [d:]     (all files, default directory)
  1644.              or
  1645.           SIZE [d:][path]filename[.ext]
  1646.  
  1647. Remarks:  DOS stores files in fixed-length allocation
  1648.           units called "clusters."  For floppy disks,
  1649.           the cluster size is 1024 bytes (two 512-byte
  1650.           sectors); for the PC and XT 10-Mb hard disk
  1651.           the cluster size is 4084 bytes.  On such a
  1652.           hard disk, whether a file is one byte or 4Kb
  1653.           in actual length (as reported by DIR), it
  1654.           requires the same amount (one cluster) of
  1655.           storage space.  The PC AT's 20-Mb hard disk
  1656.           is less wasteful in handling small files;
  1657.           its minimum set-aside (cluster size) is 2048
  1658.           bytes.  AT users should use ATSIZE.COM.
  1659.  
  1660.           Entered without parameters, SIZE (or ATSIZE)
  1661.           returns the number of bytes used by all files
  1662.           in the current directory, the amount of space
  1663.           required to copy them to a standard (360K)
  1664.           floppy disk, and the amount of space required
  1665.           for hard disk storage.
  1666.  
  1667.           Entering B:SIZE returns the same information
  1668.           for a disk in drive B:.  Pathnames and
  1669.           wildcards are supported, so you could enter
  1670.  
  1671.                SIZE \PROG\*.COM
  1672.  
  1673.           to learn the number of .COM files, their
  1674.           total size and storage requirements,
  1675.           contained in your \PROG subdirectory.
  1676.  
  1677.           Notes:
  1678.  
  1679.           1.   Requires DOS 2.0 or later.
  1680. @@ATSIZE.COM
  1681. ATSIZE (and SIZE)                          Art Merrill
  1682. Command(s)                                      No. 28
  1683. ______________________________________________________
  1684.  
  1685. Purpose:  Calculates the storage requirements of a file
  1686.           or group of files, based on the number of DOS
  1687.           clusters necessary to make floppy disk and
  1688.           hard disk copies.
  1689.  
  1690. Format:   SIZE [d:]     (all files, default directory)
  1691.              or
  1692.           SIZE [d:][path]filename[.ext]
  1693.  
  1694. Remarks:  DOS stores files in fixed-length allocation
  1695.           units called "clusters."  For floppy disks,
  1696.           the cluster size is 1024 bytes (two 512-byte
  1697.           sectors); for the PC and XT 10-Mb hard disk
  1698.           the cluster size is 4084 bytes.  On such a
  1699.           hard disk, whether a file is one byte or 4Kb
  1700.           in actual length (as reported by DIR), it
  1701.           requires the same amount (one cluster) of
  1702.           storage space.  The PC AT's 20-Mb hard disk
  1703.           is less wasteful in handling small files;
  1704.           its minimum set-aside (cluster size) is 2048
  1705.           bytes.  AT users should use ATSIZE.COM.
  1706.  
  1707.           Entered without parameters, SIZE (or ATSIZE)
  1708.           returns the number of bytes used by all files
  1709.           in the current directory, the amount of space
  1710.           required to copy them to a standard (360K)
  1711.           floppy disk, and the amount of space required
  1712.           for hard disk storage.
  1713.  
  1714.           Entering B:SIZE returns the same information
  1715.           for a disk in drive B:.  Pathnames and
  1716.           wildcards are supported, so you could enter
  1717.  
  1718.                SIZE \PROG\*.COM
  1719.  
  1720.           to learn the number of .COM files, their
  1721.           total size and storage requirements,
  1722.           contained in your \PROG subdirectory.
  1723.  
  1724.           Notes:
  1725.  
  1726.           1.   Requires DOS 2.0 or later.
  1727. @@SNAPSHOT.COM
  1728. SNAPSHOT                                Steven Holzner
  1729. Command (after running .BAS version)            No. 29
  1730. ______________________________________________________
  1731.  
  1732. Purpose:  Saves your current screen and up to three
  1733.           additional prefabricated screens for
  1734.           immediate display without leaving an
  1735.           application program.
  1736.  
  1737. Format:   SNAPSHOT     (loads memory-resident program)
  1738.           <Ctrl-N>             (stores current screen)
  1739.           <Ctrl-F>            (displays stored screen)
  1740.           <Ctrl-A>             (displays screen A.DAT)
  1741.           <Ctrl-B>             (displays screen B.DAT)
  1742.           <Ctrl-C>             (displays screen C.DAT)
  1743.  
  1744. Remarks:  SNAPSHOT is a memory-resident utility that is
  1745.           incompatible with programs (such as XyWrite)
  1746.           that take control of the keyboard interrupts.
  1747.           While written in assembly languge, it is
  1748.           presented here with a BASIC interface that
  1749.           need be run only once, but which facilitates
  1750.           entering the trigger keys you will use to
  1751.           store the current screen, recall it, and to
  1752.           recall up to three screens you can prepare
  1753.           with an ASCII word processor and store under
  1754.           the filenames A.DAT, B.DAT, and C.DAT.
  1755.  
  1756.           When you load and run SNAPSHOT.BAS under
  1757.           BASIC you will be prompted for the required
  1758.           key selections.  Thereafter the program will
  1759.           create SNAPSHOT.COM (it takes about two
  1760.           minutes), which is a regular DOS command.
  1761.  
  1762.  
  1763. Option 1: If your regular word processor is WordStar,
  1764.           before running SNAPSHOT.BAS you should edit
  1765.           it as follows:
  1766.  
  1767.           1. In line 30, change the checksum shown from
  1768.           51461 to 51462.
  1769.  
  1770.           2. In line 430, change the third number (just
  1771.           to the left of the -2) from 0 to 1.
  1772.  
  1773.           The purpose of these changes is to provide a
  1774.           "stripper" function so that WordStar files
  1775.           will be readable from other applications.
  1776. @@STATLINE.COM
  1777. STATLINE                                    John Socha
  1778. Command                                         No. 30
  1779. ______________________________________________________
  1780.  
  1781. Purpose:  Displays 26th-line status indicators for the
  1782.           NumLock, CapsLock, and ScrollLock toggle keys
  1783.           on IBM monochrome, CGA, and Compaq monitors.
  1784.  
  1785. Format:   STATLINE     (loads memory-resident program)
  1786.  
  1787. Remarks:  STATLINE converts the normal 25-line text
  1788.           mode display into 26 lines, using the
  1789.           additional line to show a # sign for NumLock,
  1790.           an up arrow for CapsLock, and a double-
  1791.           pointed arrow for ScrollLock.
  1792.  
  1793.           On a monochrome display, where insufficient
  1794.           memory is available for a full 26th line,
  1795.           two-thirds of that line is used by STATLINE;
  1796.           the remainder echoes the first portion of the
  1797.           top line of the regular display.
  1798.  
  1799.           This utility is not compatible with the IBM
  1800.           enhanced graphics adapter (EGA) and is best
  1801.           suited for use with the color graphics
  1802.           adapter (CGA) and with Compaq displays.
  1803.  
  1804.           Notes:
  1805.  
  1806.           1.   STATLINE is a memory-resident utility
  1807.                and is known to be incompatible with a
  1808.                number of keyboard macro programs.
  1809.                Assembly language programmers will be
  1810.                particularly interested in the extensive
  1811.                discussion of the problems of co-
  1812.                residency contained in the original
  1813.                article (PC Magazine, Volume 5 Number
  1814.                13), and in the .ASM listing that shows
  1815.                how to reprogram the 6845 video
  1816.                controller.
  1817. @@SWEEP.COM
  1818. SWEEP                                  Charles Petzold
  1819. Command                                         No. 31
  1820. ______________________________________________________
  1821.  
  1822. Purpose:  Causes a command to be successively executed
  1823.           in every subdirectory on a hard disk.
  1824.  
  1825. Format:   SWEEP Command [parameter(s)]
  1826.  
  1827. Remarks:  SWEEP starts from the current directory.  In
  1828.           order to use SWEEP to extend the range of a
  1829.           command to all the subdirectories on a disk,
  1830.           use CD (if necessary) to make the root
  1831.           directory your current directory.  From the
  1832.           root directory, the command
  1833.  
  1834.                SWEEP DIR
  1835.  
  1836.           will display the listings, by subdirectory,
  1837.           of every non-hidden file on the disk.  To
  1838.           erase all the .BAK files on a disk you need
  1839.           only get into the root directory and issue
  1840.           the command
  1841.  
  1842.                SWEEP DEL *.BAK
  1843.  
  1844.           SWEEP itself will not accept parameters other
  1845.           than its command.  Thus, if you are on drive
  1846.           C: and wish a directory of all files on drive
  1847.           D: to be sent to your printer, you must first
  1848.           make drive D: the current drive before you
  1849.           issue the command
  1850.  
  1851.                SWEEP DIR > LPT1
  1852.  
  1853.           (In this case you would either need a copy of
  1854.           SWEEP.COM on drive D: or else drive D: would
  1855.           have to be listed on your PATH.)
  1856.  
  1857.           SWEEP can execute .BAT file commands (and
  1858.           even non-DOS commands, such as LOCATE.COM).
  1859.           A useful file called CLEAN.BAT might consist
  1860.           of the three lines
  1861.  
  1862.           DEL *.BAK
  1863.           DEL *.TMP
  1864.           DEL *.OBJ
  1865.  
  1866.           From the root directory, if you then enter
  1867.  
  1868.                SWEEP CLEAN
  1869.  
  1870.           all .BAK, .TMP, and .OBJ files will be erased
  1871.           from the disk.
  1872.  
  1873.           Notes:
  1874.  
  1875.           1.   Requires DOS 2.0 or later.
  1876. @@UNDEL.COM
  1877. UNDEL (Undelete)                        Steven Holzner
  1878. Command                                          No.32
  1879. ______________________________________________________
  1880.  
  1881. Purpose:  Recovers files on double-sided floppy disks
  1882.           that have been accidentally deleted.
  1883.  
  1884. Format:   UNDEL [d:]filename[.ext]
  1885.  
  1886. Remarks:  Unless special measures are taken, DOS does
  1887.           not overwrite the contents of a file when it
  1888.           deletes the file.  Rather, DOS simply changes
  1889.           the first letter of the filename to E5 in its
  1890.           directory table and unassigns the second (and
  1891.           subsequent) clusters for the file from its
  1892.           file allocation table.  When no files have
  1893.           been subsequently stored to disk that would
  1894.           use the deallocated clusters, the deleted
  1895.           file can usually be recovered intact by
  1896.           UNDEL.COM.
  1897.  
  1898.           As an aid to recovery of ASCII files, the
  1899.           UNDEL command may be given as
  1900.  
  1901.           UNDEL/A [d:]filename[.ext]
  1902.  
  1903.           The /A parameter is designed to provide a
  1904.           display of each proposed cluster to be
  1905.           recovered before it is actually included in
  1906.           the undeleted file.  With late versions of
  1907.           PC-DOS, however, the use of the /A parameter
  1908.           has been found to return the error message,
  1909.           "File Not Found Deleted".  In such cases,
  1910.           entering UNDEL without the added parameter is
  1911.           normally sufficient to recover the complete
  1912.           file without loss.
  1913.  
  1914.           Notes:
  1915.  
  1916.           1.   UNDEL should not be used on 8-sector
  1917.                disks (such as the distribution copy
  1918.                of this disk), but only on 9-sector,
  1919.                double-sided floppies.
  1920.  
  1921.           2.   Requires the use of DOS 2.0 or later,
  1922.                but the command does not recognize
  1923.                pathnames.
  1924. @@VTREE.COM
  1925. VTREE (Visual Tree)                    Charles Petzold
  1926. Command                                         No. 33
  1927. ______________________________________________________
  1928.  
  1929. Purpose:  Provides a visual representation of the tree-
  1930.           structured subdirectories on a hard or floppy
  1931.           disk.
  1932.  
  1933. Format:   VTREE [d:]
  1934.  
  1935. Remarks:  VTREE can display up to the full DOS limit of
  1936.           32 levels of nested subdirectories.  Its
  1937.           output may be redirected to a printer, but it
  1938.           employs IBM "text-graphics" characters that
  1939.           many printers cannot properly handle.  With
  1940.           such printers, run PRSWAP.COM (included in
  1941.           these utilities) before VTREE.
  1942.  
  1943.           Notes:
  1944.  
  1945.           1.   Requires DOS 2.0 or later.
  1946. @@WAITASEC.COM
  1947. WAITASEC (and SCROLL)                  Charles Petzold
  1948. Command(s)                                      No. 34
  1949. ______________________________________________________
  1950.  
  1951. Purpose:  Uses the single-keystroke ScrollLock key to
  1952.           halt a fast-scrolling display; then allows
  1953.           you to scroll backwards, recalling previous
  1954.           screens.
  1955.  
  1956. Format:   WAITASEC     (loads memory-resident program)
  1957.           <ScrollLock>             (activates command)
  1958.  
  1959. Remarks:  WAITASEC is a memory-resident program that is
  1960.           normally loaded through your AUTOEXEC.BAT
  1961.           file.  Thereafter, alternately pressing and
  1962.           releasing the ScrollLock key will halt and
  1963.           restart a scrolling display, e.g., a lengthy
  1964.           DIR listing.
  1965.  
  1966.           While holding down the ScrollLock key to
  1967.           freeze the display, if you also press one of
  1968.           the cursor movement keys (Home, Up Arrow,
  1969.           PgUp, End, Down Arrow, or PgDn), the display
  1970.           will not resume scrolling when you release
  1971.           the ScrollLock key.  Thereafter, the Up and
  1972.           Down arrow keys move the display by one line,
  1973.           the PgUp and PgDown move it by 25 lines, and
  1974.           the Home and End keys take you to the
  1975.           beginning and end of the stored screen
  1976.           memory.  Pressing any non cursor key at this
  1977.           point deactivates the stored mode, and the
  1978.           original scrolling resumes.
  1979.  
  1980.           Notes:
  1981.  
  1982.           1.   WAITASEC will not work with an 80-column
  1983.                color/graphics display if an unmodified
  1984.                PC-DOS ANSI.SYS has been loaded.  (The
  1985.                ANSI.SYS that comes with various
  1986.                versions of MS-DOS does not cause
  1987.                problems with WAITASEC.)  To run with
  1988.                IBM's ANSI.SYS, make a copy
  1989.                (MODANSI.SYS) of the original ANSI.SYS
  1990.                and use DEBUG to patch the copy as
  1991.                follows:
  1992.  
  1993.                DEBUG MODANSI.SYS
  1994.                E 29D 90 90
  1995.                E 2A1 90 90
  1996.                W
  1997.                Q
  1998.  
  1999.                Put the modified MODANSI.SYS in your
  2000.                CONFIG.SYS file in place of ANSI.SYS.
  2001.  
  2002.           2.   Because of the way they handle TTY
  2003.                output, certain EGA cards will not
  2004.                permit WAITASEC to scroll backwards.
  2005.                This problem can often be cured by
  2006.                adding MODANSI.SYS, as above.
  2007.  
  2008.           3.   WAITASEC does not save your current
  2009.                display screen.  To save your current
  2010.                display, before beginning a scroll,
  2011.                enter the complementary SCROLL command,
  2012.                and everything on the screen will scroll
  2013.                off the top and be captured in the
  2014.                WAITASEC buffer.
  2015.  
  2016.           4.   While WAITASEC has been found compatible
  2017.                with XyWrite III (XYKBD.COM loaded) on a
  2018.                PC AT, as with other memory-resident
  2019.                programs, unforeseen hardware and
  2020.                software incompatibilities may be
  2021.                encountered.
  2022. @@WHERE.COM
  2023. WHERE (File Locator)                     Kiyoshi Akima
  2024. Command                                         No. 35
  2025. ______________________________________________________
  2026.  
  2027. Purpose:  Searches all directories on a particular
  2028.           drive and lists the paths of entries that
  2029.           match the specified filename.
  2030.  
  2031. Format:   [d:][path]WHERE [filename[.ext]]
  2032.  
  2033. Remarks:  WHERE uses normal DOS filename specifications
  2034.           to locate files.  Omitting a filename and
  2035.           extension after the command defaults to WHERE
  2036.           *.* and will list all non-hidden files on
  2037.           your disk.
  2038.  
  2039. Example:  The command WHERE *.BAT will find all
  2040.           your batch files.  WHERE MO*.* would uncover
  2041.           MODE.COM and MORE.COM and any other filename
  2042.           that begin with MO.
  2043.  
  2044.           Notes:
  2045.  
  2046.           1.   Although submitted to us by Mr. Akima,
  2047.                this program has its roots in one
  2048.                originally written by John Socha.
  2049. @@XDEL.COM
  2050. XDEL                                    Ronald Czapala
  2051. Command                                         No. 36
  2052. ______________________________________________________
  2053.  
  2054. Purpose:  Successively presents each filename in your
  2055.           current directory for single-keystroke file
  2056.           deletion or retention.
  2057.  
  2058. Format:   XDEL [d:][file.ext]
  2059.  
  2060. Remarks:  If no parameters are specified with XDEL, the
  2061.           default filename *.* is used.  Both the
  2062.           global characters ? and * may be used in
  2063.           selecting the files to be presented.
  2064.  
  2065.           The program produces an on-screen menu of
  2066.           keystroke choices, as follows:
  2067.  
  2068.           <F1> - deletes current file displayed
  2069.           <PgDn> - skips current file displayed
  2070.           <Home> - restarts file display
  2071.           <Esc> - returns to DOS
  2072.  
  2073.           Note:
  2074.  
  2075.           1.   Although XDEL.COM requires DOS 2.0 or
  2076.                later, you must use CHDIR (CD) if
  2077.                necessary to make a subdirectory your
  2078.                current directory.
  2079.