home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / DIR / D_097A.ZIP / D.DOC next >
Encoding:
Text File  |  1990-04-20  |  7.3 KB  |  198 lines

  1. D - The BEST Directory Utility Around.
  2.  
  3. Copyright (c) James D. Bryant II, 1990. All rights reserved.
  4.  
  5. Distribution and cost.
  6.  
  7.   I am releasing D as Shareware at a cost of $5.00 per machine it runs on.
  8.   This means that you may copy and distribute D freely under the conditions:
  9.  
  10.          1). It is not modified in any way.
  11.          2). All original files are distributed as originally released.
  12.          3). You recieve no money beyond the cost of duplication.
  13.          4). And that you send $5.00 (US) for every machine that
  14.              you intend to run D on, including network workstations to:
  15.  
  16.                                James D. Bryant II
  17.                                612 Beverly Dr.
  18.                                Aledo, TX 76008
  19.  
  20.   I make no warranties of any kind, although if a bug is reported and can
  21.   be duplicated by me I will try to correct it.
  22.  
  23. What is Shareware?
  24.  
  25.   Shareware is a an alternative to high-priced software, and the high price
  26.   of advertising. So, if you like D, tell others about it! Better yet, give
  27.   them a copy (as long as the criteria above is met)!
  28.  
  29.   I put in many hours of work in writing this, and I hope that you will enjoy
  30.   using D.
  31.  
  32. Why should I use D?
  33.  
  34.   Well, have you ever had to find a file or group of files in a directory
  35.   listing produced by the DOS DIR command (the bigger the directory, the
  36.   harder you have to look!)? Have you ever wished there was an alternative
  37.   to the DIR command? Have you ever wanted to see different file types in
  38.   different colors? Ever want to find out how much space the files in a
  39.   specific directory uses? Ever want a sorted directory, one that shows you
  40.   as much or as little information as you want? I could go on forever...
  41.   I believe only a masochist would be satisfied with the DOS DIR command!
  42.  
  43. What do I need to run D?
  44.  
  45.   Any MS-DOS machine.
  46.   A disk drive.
  47.   A color monitor is preferred, although it will work on monochrome.
  48.   A short temper with anemic utilities.
  49.  
  50. What can I do with D?
  51.  
  52.   You can create customized directory displays.
  53.   View sorted directory displays in either ascending or descending order.
  54.   Have different colors assigned to up to 10 file types that you choose.
  55.   View total size of directory.
  56.   View free and total space on disk.
  57.   View the Volume Serial Number of DOS 4.xx disks.
  58.   * Determine if a directory is on the path.
  59.   * Determine if a directory is appended (using the DOS APPEND statement).
  60.   * Redirect a directory display to another device.
  61.   Display a directory as above, but without color.
  62.   View a directory FAST!
  63.   View online help for D.
  64.  
  65.   note : A '*' signifies not implemented yet.
  66.  
  67. Ok, I'm convinced. How do I install D?
  68.  
  69.   1). Copy the program to a directory specified in the PATH command.
  70.  
  71.   2). Try bringing up a few directories to see if you like the default settings.
  72.  
  73.   3). If you like the settings, you are done.
  74.  
  75.   4). If you don't like the settings, there is a way to change the default
  76.       settings to suit your preferences. MS-DOS has what is called an
  77.       environment. This is where it stores variables to customize the
  78.       operating environment of your system. For example, the forementioned
  79.       PATH command puts a variable into the environment called PATH to tell
  80.       DOS where to find programs to execute. If you want to see your system's
  81.       environment, just type SET at the DOS prompt.
  82.  
  83.       D uses three environment variables called :
  84.  
  85.         DDEF  - The default command line options. Display type, Sorting, etc...
  86.         DCOL  - The default colors for D.
  87.         DEXT  - The default file types (extensions) for D to color code.
  88.  
  89.       The syntax for defining an environment variable is :
  90.  
  91.         SET VARNAME=VALUE(S)
  92.  
  93.       The place to put this command is somewhere in your AUTOEXEC.BAT file.
  94.  
  95.       Please note that I use the hardwired defaults in the following examples,
  96.       entering the examples as-is will not make any changes.
  97.  
  98.       DDEF
  99.  
  100.         You can use any of the valid command line options specified below.
  101.         You can override anything set here by specifying different options of
  102.         the command line when you run D.
  103.  
  104.         Example :
  105.  
  106.           SET DDEF=E4
  107.           This sets the default command line options to /E /4 .
  108.  
  109.       DEXT
  110.  
  111.         You can use any valid three or less character filename extension in
  112.         this way :
  113.  
  114.           SET DEXT=COM;EXE;BAT;C;H;ASM;BAK;ZIP;ARC;DOC
  115.  
  116.           You must seperate the extensions with semicolons (;)
  117.  
  118.       DCOL
  119.  
  120.         You will use the following table to specify the colors :
  121.  
  122.           ┌───────┬───┬─────────┬───┐
  123.           │Color  │Val│Color    │Val│
  124.           ├───────┼───┼─────────┼───┤
  125.           │Black  │n  │Gray     │N  │
  126.           │Blue   │b  │LtBlue   │B  │
  127.           │Green  │g  │LtGreen  │G  │
  128.           │Cyan   │c  │LtCyan   │C  │
  129.           │Red    │r  │LtRed    │R  │
  130.           │Magenta│m  │LtMagenta│M  │
  131.           │Brown  │y  │Yellow   │Y  │
  132.           │White  │w  │LtWhite  │W  │
  133.           └───────┴───┴─────────┴───┘
  134.  
  135.         The colors that you will specify (in the correct order) are :
  136.  
  137.           SET DCOL=CCgGGGRwwYWRcCYn
  138.  
  139.           ┌────┬────────────────────┐
  140.           │Pos │ What               │
  141.           ├────┼────────────────────┤
  142.           │1   │ Ext 1              │
  143.           │    │ .                  │
  144.           │    │ .                  │
  145.           │10  │ Ext 10             │
  146.           │11  │ SubDir             │
  147.           │12  │ No extension       │
  148.           │13  │ Undefined extension│
  149.           │14  │ Divider            │
  150.           │15  │ Header/Footer      │
  151.           │16  │ Background         │
  152.           └────┴────────────────────┘
  153.  
  154.  
  155. How do I use D?
  156.  
  157.   Usage :    D [Option] [Option] [...]
  158.  
  159.   Options :  [Drive:][Pathname][Filename[.Ext]]
  160.              /E *Sort filenames by extension.
  161.              /N  Sort filenames by name.
  162.              /S  Sort filenames by size.
  163.              /D  Sort filenames by date.
  164.              /R  Don't sort
  165.              /+ *Sort in ascending order.
  166.              /-  Sort in decending order.
  167.              /1  Single column modifier.
  168.              /2  Display Name/Size/Attr/Date/Time.
  169.              /3  Display Name/Size/Attr.
  170.              /4 *Display Name/Size.
  171.              /6  Display Name.
  172.              /V  Turn off fast video writes.
  173.              /C  Toggle the color off/on.
  174.              /?  or
  175.              /   Usage screens (Will restore original screen when done)
  176.  
  177.              note: A '*' signifies default settings.
  178.  
  179.   Examples : D
  180.              This will produce a display of the current directory.
  181.  
  182.              D D:
  183.              This will produce a display of the current dir on drive D:
  184.  
  185.              D NAME
  186.              This will produce a display of all files in the current dir that
  187.              begin with NAME (i.e., NAME*.*), or if NAME is a subdirectory, it
  188.              will produce a display of that directory.
  189.  
  190.              D /S- C:   [or]
  191.              D C: /S-   [or]
  192.              D/S/- C:   [or]
  193.              D /S /- C: [or]
  194.              D/S- C:    [ All are identical to D ]
  195.              This will produce a display of the current dir of drive C: sorted
  196.              by size in descending order (High to Low). This also demonstrates
  197.              the order independance and multiple ways of specifying the options.
  198.