home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / fileutil / lsdir_20.arj / LSDIR.DOC < prev    next >
Encoding:
Text File  |  1992-05-06  |  15.5 KB  |  406 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.                                Led's Stacker Directory
  13.  
  14.                      Copyright (c) 1991, 1992 by Keith Ledbetter
  15.  
  16.  
  17.  
  18.                              This is a FREEWARE program.
  19.  
  20.  
  21.  
  22.                                 _______
  23.                            ____|__     |               (tm)
  24.                         --|       |    |-------------------
  25.                           |   ____|__  |  Association of
  26.                           |  |       |_|  Shareware
  27.                           |__|   o   |    Professionals
  28.                         -----|   |   |---------------------
  29.                              |___|___|    MEMBER
  30.  
  31.  
  32.  
  33.                              Written by Keith Ledbetter
  34.                                  4240 Ketcham Drive
  35.                                Chesterfield, VA  23832
  36.                                    (804) 674-0780
  37.                            (6:00pm - 10:00pm Eastern Time)
  38.  
  39.  
  40.                            Tech Support BBS:   Blue Ridge Express
  41.                                                804-790-1675
  42.                                                30 Phone Lines (2400 bd)
  43.                                                Sub-board KEITHL
  44.                                                ("J KEITHL")
  45.  
  46.  
  47.                         Electronic mail on  GEnie: ORION.MICRO
  48.                                        Compuserve: 72240,1221
  49.                                               AOL: KLedbetter
  50.  
  51.  
  52.  
  53.                             Program and Documentation are
  54.                     Copyright (c) 1991, 1992 by Keith Ledbetter.
  55.                                 All rights reserved.
  56.  
  57.  
  58.                      Portions Copyright Borland, International.
  59.              Written with Borland C/C++ 3.0 and Borland Turbo Assembler.
  60.  
  61.  
  62.                                Led's Stacker Directory
  63.  
  64.  
  65.                Led's Stacker Directory (LSDIR) is my "quick-fix" answer  to
  66.           making a more intelligent SDIR command.   Since Stac  Electronics
  67.           has not yet released any developer information on Stacker volumes
  68.           and the Stacker/DOS interface,  this program must  do what is  at
  69.           best called a "kludge" among programmers:
  70.  
  71.  
  72.                1.   It calls Stac Electronic's SDIR command (which came 
  73.                     with your Stacker package), redirecting the output of 
  74.                     the SDIR command to a temp file on drive C:.  This 
  75.                     means that the SDIR command MUST BE IN SOMEWHERE IN 
  76.                     YOUR PATH!
  77.  
  78.  
  79.                2.   It then reads this temp file in and manipulates the 
  80.                     data to do the directory listing.
  81.  
  82.  
  83.                The main reason I  wrote LSDIR is because  I don't like  the
  84.           way Stac's SDIR command displays  compression ratios in the  form
  85.           of 12.6:1.    Just  try figuring out  what that  really means  at
  86.           2:00am in the morning!  LSDIR  displays the compression ratio  in
  87.           "PKZIP-type" fashion (eg: 76%).   The normal  output of the  SDIR
  88.           command looks like this:
  89.  
  90.  
  91.               SAC      LIB   170257   6-07-91  12:00a   1.8:1
  92.               STARTC   OBJ      324   6-07-91  12:00a  16.0:1
  93.               _SAC     LIB   172251   6-07-91  12:00a   1.8:1
  94.               SAM      LIB   167341   6-07-91  12:00a   1.8:1
  95.  
  96.                     17 File(s) 26845184 bytes free
  97.                     Directory compression ratio =  1.8:1
  98.  
  99.  
  100.  
  101.  
  102.           The default output from LSDIR looks like this:
  103.  
  104.  
  105.               sac      lib   170257   6-07-91  12:00a  ( 45%)
  106.               startc   obj      324   6-07-91  12:00a  ( 94%)
  107.               _sac     lib   172251   6-07-91  12:00a  ( 45%)
  108.               sam      lib   167341   6-07-91  12:00a  ( 45%)
  109.  
  110.                     17 File(s) 26845184 bytes free
  111.                     Directory compression ratio =  45%
  112.  
  113.  
  114.  
  115.  
  116.  
  117.                                      Page 1
  118.  
  119.  
  120.                                Led's Stacker Directory
  121.  
  122.  
  123.           In the above example,  the display for  "sac.lib" is saying  that
  124.           the file was  compressed by  45%.       If you  specify the  "/r"
  125.           switch, then LSDIR  will "reverse" the  compression display  like
  126.           this:
  127.  
  128.  
  129.               sac      lib   170257   6-07-91  12:00a  ( 55%)
  130.               startc   obj      324   6-07-91  12:00a  (  6%)
  131.               _sac     lib   172251   6-07-91  12:00a  ( 55%)
  132.               sam      lib   167341   6-07-91  12:00a  ( 55%)
  133.  
  134.                     17 File(s) 26845184 bytes free
  135.                     Directory compression ratio =  45%
  136.  
  137.  
  138.           When reversing the display, the program now shows that  "sac.lib"
  139.           is taking up 55% of its original disk space.   If you specify the
  140.           "/c" switch,  LSDIR  will  also show  SDIR's  "nn:1"  compression
  141.           values, like this:
  142.  
  143.  
  144.               sac      lib   170257   6-07-91  12:00a   1.8:1  ( 45%)
  145.               startc   obj      324   6-07-91  12:00a  16.0:1  ( 94%)
  146.               _sac     lib   172251   6-07-91  12:00a   1.8:1  ( 45%)
  147.               sam      lib   167341   6-07-91  12:00a   1.8:1  ( 45%)
  148.  
  149.                     17 File(s) 26845184 bytes free
  150.                     Directory compression ratio =  1.8:1 (45%)
  151.  
  152.  
  153.           The last two switches that you  can specify are the "/p"  switch,
  154.           which pauses the display when the  screen fills up, and the  "/?"
  155.           switch, which displays a short help screen.
  156.  
  157.           Remember, the  SDIR.EXE program  from  Stac Electronics  must  be
  158.           somewhere in your PATH so that LSDIR can find it.   If you use an
  159.           "aliasing" command shell such as NDOS,  4DOS, or DOS 5's  DOSKEY,
  160.           you can ALIAS LSDIR to SDIR with a command like this (for 4DOS or
  161.           NDOS):
  162.  
  163.                                  alias sdir `lsdir`
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.                                      Page 2
  176.  
  177.  
  178.                                Led's Stacker Directory
  179.  
  180.  
  181.  
  182.  
  183.  
  184.                            The LSDIR environment variable
  185.                            ------------------------------
  186.  
  187.                By default,  LSDIR creates  (and then  deletes) a  temporary
  188.           file named C:\LSDIR$$$.$$$.   If  you don't have sufficient  disk
  189.           space on drive  C:, you can  tell LSDIR to  create it on  another
  190.           drive by setting the LSDIR environment  variable.   For  example,
  191.           "SET LSDIR=D" would cause the temp file to be created in the root
  192.           directory of drive D:.
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.                                    Update History
  211.                                    --------------
  212.  
  213.               v1.0   9-Sep-91      Initial release.
  214.  
  215.               v2.0   6-May-92      Fixed the program to be compatible with
  216.                                    changes made in Stacker 2.0's SDIR
  217.                                    command.
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.                                      Page 3
  234.  
  235.  
  236.                           Keith Ledbetter's Product Catalog
  237.  
  238.  
  239.                Listed below is a chart of  my other shareware and  freeware
  240.           utilities, along with the current version  number of each.   Also
  241.           listed is  the filename  that you  will find  them under  on  BBS
  242.           systems (please note that they may be different on your  favorite
  243.           BBS's, but it  should help  you at  least get  close to  locating
  244.           them).   When you register one of my Shareware programs, you will
  245.           receive a disk with all of these utilities on it.
  246.  
  247.           Filename       Version            Description
  248.           -----------    -------        ----------------------------------
  249.           SST_53a.ZIP      5.3a         The ultimate  file-finder  program.
  250.                                         PC/Computing  magazine  called  SST
  251.                                         "the Concorde of all file finders".
  252.                                         Shareware: $15
  253.  
  254.           LCD_40b.ZIP      4.0b         "Led's  Change  Directory"  is   an
  255.                                         intelligent   directory    changing
  256.                                         program.   This program  was  voted
  257.                                         one of  "the 10  best utilities  of
  258.                                         1990"  by  the  "Public  (software)
  259.                                         Library" magazine.
  260.                                         Shareware: $15
  261.  
  262.           LACE_11.ZIP      1.1          LACE    ("Led's    Autoexec     and
  263.                                         Configuration Editor") is a  device
  264.                                         driver that allows you to  maintain
  265.                                         up   to   14   different    boot-up
  266.                                         configurations from within a single
  267.                                         CONFIG.SYS file.  LACE is very easy
  268.                                         to set up and use.
  269.                                         Shareware: $15
  270.  
  271.           AV_12.ZIP        1.2          "Archive Viewer" is used to display
  272.                                         the names of members of all of  the
  273.                                         popular  archiving  programs  (ZIP,
  274.                                         ARC, LHARC, PKARC,  ZOO, PAK).   No
  275.                                         longer  do  you  have  to  struggle
  276.                                         remembering   the   syntax   to   6
  277.                                         different archiving programs.
  278.                                         Freeware: $0
  279.  
  280.           X_30.ZIP         3.0          "X: The Executioner" can save you a
  281.                                         lot of disk space.  X allows you to
  282.                                         ZIP  down   those   seldom-used-but
  283.                                         hard-to-delete .COM, .EXE, and .BAT
  284.                                         files  into  one  system   "Command
  285.                                         Library".   You  can  then  execute
  286.                                         them easily by simply typing an "x"
  287.                                         in front of  the command line  (eg:
  288.                                         "x chkdsk c:").
  289.                                         Freeware: $0
  290.  
  291.                                      Page 4
  292.  
  293.  
  294.                           Keith Ledbetter's Product Catalog
  295.  
  296.  
  297.           ADMENU30.ZIP     3.0          If you own an Adlib Music card, you
  298.                                         need this program.   It allows  you
  299.                                         to ZIP down all of those .ROL  song
  300.                                         files you've accumulated, yet still
  301.                                         play them  with  no  extra  effort!
  302.                                         Uses a mouse-able, easy-on-the-eyes
  303.                                         window system.
  304.                                         Freeware: $0
  305.  
  306.           DELDIR12.ZIP     1.2          "Delete Directory"  allows  you  to
  307.                                         delete an entire directory (and all
  308.                                         directories  under  it)  with   one
  309.                                         quick command.   You will be  shown
  310.                                         totals of  what  you are  about  to
  311.                                         delete and then be asked to confirm
  312.                                         (the confirm process  can be  over-
  313.                                         ridden from the command line).
  314.                                         Freeware: $0
  315.  
  316.           DIRSIZ11.ZIP     1.1          "Directory Size Information" allows
  317.                                         you to easily  determine the  total
  318.                                         size (in both  files and bytes)  of
  319.                                         any directory.
  320.                                         Freeware: $0
  321.  
  322.           DUPICO10.ZIP     1.0          "Duplicate Icon Deleter" is for any
  323.                                         Windows   3.0    user    who    has
  324.                                         accumulated tons of icons.  It will
  325.                                         go through a  directory and  delete
  326.                                         all    duplicate    icon    images,
  327.                                         regardless of what they are named.
  328.                                         Freeware: $0
  329.  
  330.           TIMER10.ZIP      1.0          This program allows  you to  easily
  331.                                         time the execution of any  program.
  332.                                         Simply  use  TIMER  to  invoke  the
  333.                                         command (eg: "timer chkdsk C:") and
  334.                                         you   will   be   shown,   at   the
  335.                                         completion  of  the  command,   the
  336.                                         elapsed time.
  337.                                         Freeware: $0
  338.  
  339.           UNTAB10.ZIP      1.0          One   of   the   fastest   "un-tab"
  340.                                         programs you will  find.  It  takes
  341.                                         the specified input file and copies
  342.                                         it to  the specified  output  file,
  343.                                         replacing all  tab characters  with
  344.                                         hard blanks (you  specify the  "tab
  345.                                         size").
  346.                                         Freeware: $0
  347.  
  348.  
  349.                                      Page 5
  350.  
  351.  
  352.  
  353.                                  Distribution Sites
  354.  
  355.  
  356.  
  357.                  You can download all of my programs from the Blue Ridge
  358.             Express BBS  in  Richmond,  VA.      This  is  the  official
  359.             technical support board for all of my software, and there's
  360.             a special "Keith  Ledbetter" message section  where you  can
  361.             quickly get your questions answered.   Once you log on, just
  362.             do a "J KEITHL"  to join my  sub-board.  First-time  callers
  363.             have access to both my message  base and all of my  download
  364.             files.  Please  note that  you must  do a  "J MAIN"  command
  365.             before downloading any files.
  366.  
  367.                  The Blue Ridge  Express is a  first-class BBS, with  30
  368.             phone lines; no need to worry  about getting a busy  signal!
  369.             The number is:
  370.  
  371.                              The Blue Ridge Express BBS
  372.                                     804-790-1675
  373.  
  374.  
  375.  
  376.                  All of  my  software  can also  be  obtained  from  the
  377.             following shareware vendors:
  378.  
  379.  
  380.                            Alternative Personal Software
  381.                            269 Springside Drive  Suite C
  382.                            Hamilton, Ontario
  383.                            Canada  L9B 1P8
  384.                            Tel: (416) 577-4068
  385.  
  386.  
  387.                            PC Assist Limited
  388.                            4 Carruber's Close
  389.                            135 High Street
  390.                            Edinburgh,  EH1 1SJ
  391.                            Scotland
  392.                            Tel: 031-557-6432
  393.  
  394.  
  395.                            BroCo Software
  396.                            P. O. Box 446
  397.                            3760 AK  SOEST
  398.                            Holland
  399.                            Tel: 31-2155-26650
  400.  
  401.  
  402.                            EURO BOARD
  403.                            John Warren
  404.                            Postfach
  405.                            3920 ZERMATT, VS
  406.                            Switzerland
  407.                            BBS:  (0228) / 476-111-06 (Swiss Telepac)
  408.  
  409.  
  410.  
  411.  
  412.                                        Page 6
  413.