home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / fileutil / ddir / ddir.txt < prev   
Encoding:
Text File  |  1990-01-29  |  5.5 KB  |  192 lines

  1.  
  2.                        DDIR  for OS/2 and DOS
  3.  
  4.                               v0.10
  5.  
  6.  
  7. GENERAL:
  8. --------
  9.    Almost everybody who works with MS-DOS knows (or should know) the 
  10. program "DDIR.COM".
  11. This programs gives the user a specific directory on the screen. The 
  12. nice thing is that it's in four coloumns.
  13.    Because we used the program so much in DOS, we wanted to have the
  14. same program for OS/2. To find an OS/2 version of "DDIR" we searched 
  15. almost every Bulletin Board System in th universe but never found one.
  16.  
  17.    When we reached that point we decided to make our own version. We did 
  18.    all programming in MicroSoft-C V5.10
  19.  
  20.    After a while of programming and debugging the OS/2 version worked
  21. fine, but since we had sources know we thought of some new tricks we 
  22. could add in "DDIR". After a couple of days of programming and showing 
  23. it to other people we finaly had a usefull version.
  24.  
  25.    What features does our DDIR have?
  26.  
  27. At the prompt just type:
  28.  
  29.      DDIR /h <ret>
  30.  
  31. and see the following lines appear on your screen:
  32.  
  33.  
  34. DDIR  for OS/2 and DOS v0.10
  35. (C) 1990 BlockBuster & Copyleft Software
  36. (C) 1990 C Freak Software Inc
  37.  
  38. usage:
  39.    DDIR <options> name
  40.     name = drive and/or drive path
  41.  
  42. options:
  43.    -a  File sizes in allocated disk space
  44.    -x  Show system and hidden files/directories
  45.    -r  Output filenames only. Useful for redirect to batchfiles
  46.    -s  Output subdirectories only. Useful for redirect to batchfiles
  47.        If -s is specified together with -r, -s will we skipped
  48.    -h  Show this help screen
  49.  
  50.  
  51.  
  52.    Because we wanted to use te new functions of DDIR in DOS we decided
  53. to create a family mode program. This means that this DDIR can run under 
  54. DOS and OS/2.
  55.  
  56.    You probably have seen that this program has an execute of 28kB while
  57. the old DDIR.COM was only 2kB or so. We dont't have any problem with it 
  58. because we wrote the program in C and the old DDIR program was probably 
  59. written in assembler. We also have added a couple of functions wich 
  60. should take up some program lines.
  61.  
  62.  
  63.  
  64. THE OPTIONS:
  65. ------------
  66.    -a
  67.       This option show all file sizes in allocated diskspace. This can 
  68.       be usefull if you want to know how many real diskspace you have.
  69.  
  70.    -x
  71.       With this option all system and/or hidden system files/directories 
  72.       are also show in the directory screen.
  73.  
  74.    -r
  75.       Sometimes it can be usefull to create large batchfiles with 
  76.       filenames. If you specify the -r option you won't get a nice four 
  77.       column screen but a list of filenames only.
  78.  
  79.       If you type:
  80.  
  81.          DDIR -r
  82.  
  83.       you should get something like this
  84.  
  85.       DDIR.C
  86.       MAKE
  87.       DDIR.OBJ
  88.       DDIR.MAP
  89.       DDIR.EXE
  90.       DDIR.TXT
  91.  
  92.       You can redirect this output to an OS/2 command file by typing:
  93.  
  94.          DDIR -r > filename.CMD
  95.  
  96.       If you specify -x hidden and/or system files are also shown.
  97.  
  98.    -s
  99.       The same features as the -r  option can be performed on 
  100.       subdirectories by specifying -s instead of -r.
  101.  
  102.       You will get something like
  103.  
  104.       DDIR
  105.       NEURAL
  106.       TOOLS
  107.  
  108.       You can redirect this output to an OS/2 command file by typing:
  109.  
  110.          DDIR -s > filename.CMD
  111.  
  112.       If you specify -x hidden and/or system directories are also shown.
  113.  
  114.    -h
  115.       This option show a couple of help lines
  116.  
  117.  
  118.  
  119. PROGRAM HISTORY:
  120. ----------------
  121.    v0.01 - v0.04
  122.  
  123.       These versions were never released in the public domain so I won't 
  124.       bother you with stupid information about releases you never can 
  125.       lay your hands on.
  126.  
  127.  
  128.    v0.05     1-jan-1990
  129.  
  130.       This is the first version released in the public domain
  131.  
  132.  
  133.    v0.06    17-jan-1990
  134.  
  135.       Made a minor change.
  136.       If we had a full screen when ddir ended, we got the promp on the 
  137.       second line.
  138.       I corrected this by asking to press a key to end the program. The 
  139.       screen will be cleared as a result of the keypress.
  140.  
  141.  
  142.    v0.07    23-jan-1990
  143.  
  144.       The volume label of the drive is shown if there's one.
  145.  
  146.  
  147.    v0.10    29-jan-1990
  148.  
  149.       The file extensions are shown in one column just like the ancient 
  150.       version of DDIR.
  151.       Program renamed to a .COM file for faster loading in DOS.
  152.       If a '*.' is specified (=files without extension) handle it as a
  153.       '*.' In earlier releases this was not handled well.
  154.  
  155.  
  156.  
  157. WHAT NEXT?
  158. ----------
  159.    We are working on a sorting routine now so the filenames are sorted
  160.    like the fine old DDIR.COM did, so watch for a newer release if like 
  161.    sorted directories.
  162.  
  163.    If you have any comments about DDIR v0.10 you can send us a message.
  164.    We can be reached on the following Bulletin Boards:
  165.  
  166.    United States:
  167.  
  168.       FARGO RBBS                 +1  (701) 293 5973
  169.                send your message to Klaas Vanditzhuyzen
  170.  
  171.    The Netherlands:
  172.  
  173.       Bamestra RBBS             +31 2998 3603
  174.                                 +31 2998 3602
  175.       AINEX                     +31   33 633916
  176.                send your message to Martin Vermeer
  177. NOTICE:
  178. -------
  179.  
  180. DDIR  for OS/2 and DOS v0.10
  181. (C) 1990 BlockBuster & Copyleft Software     Martin Vermeer
  182. (C) 1990 C Freak Software Inc                Klaas Van Ditzhuyzen
  183.  
  184. Distribute this program freely but keep DDIR.COM and DDIR.TXT together
  185. so everybody knows how DDIR v0.10 works
  186.  
  187.     +----------------------------------------+
  188.     | Roads?                                 |
  189.     | Where we're going we don't need roads. |
  190.     +----------------------------------------+
  191.  
  192.