home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR2 / D84.ZIP / D.DOC next >
Text File  |  1993-07-16  |  17KB  |  333 lines

  1. ╒════════════════════════════════════════════════════════════════════════════╕
  2. │        CADMOS Computer WorkShop - 26, Skoufa Street, Athens 106 73         │
  3. │     Phone +30-1- data: 363 5482, 360 6044, 360 6046 (Cadmos/CHAOS BBS)     │
  4. │               voice: 361 1030, 360 6052       FAX: 360 6059                │
  5. ╘════════════════════════════════════════════════════════════════════════════╛
  6.             ┌──────────────────────────────────────────────────┐
  7.             │ D.EXE, version 8.4, a Directory Display Utility. │
  8.             └──────────────────────────────────────────────────┘
  9. ┌────────────────────────────────────────────────────────────────────────────┐
  10. │(c) All rights reserved. Use prohibited in a professional, business or      │
  11. │    commercial environment without prior written licence by the author.     │
  12. │                                                                            │
  13. │ Feel free to copy and distribute this program. You may use it and evaluate │
  14. │ it for 30 days. After this period, you may only use it while you are a     │
  15. │ subscriber to Cadmos/CHAOS BBS :-)                                         │
  16. └────────────────────────────────────────────────────────────────────────────┘
  17.  
  18.  D is a versitile Directory Information Display Utility.
  19.  When you type  D ?  you 'll get the following Help Screen:
  20.  
  21. ╔══════════════════════════════════════════════════════════════════════════════╗
  22. ║ D-Directory Utility, Ver 8.4*, (c) 1988-93, Haris Courouclis, (301) 361 1030 ║
  23. ║ FORMAT:  D [options] [path][filename]                    *DR DOS5 compatible ║
  24. ║ Options are:                (You can set env.var. CadmosD to preset options) ║
  25. ║   +E  = Exact Match - no added *.*  -E  = Exact path\name - any extension    ║
  26. ║   +M  = List Marked files only      -M  = Do not list Marked files           ║
  27. ║   +A  = List Archive files only     -A  = Do not list Archive files          ║
  28. ║   +R  = List ReadOnly files only    -R  = Do not list ReadOnly files         ║
  29. ║   +H  = List Hidden files only      -H  = Do not list Hidden files           ║
  30. ║   +S  = List System files only      -S  = Do not list System files           ║
  31. ║   +D  = List Directory names only   -D  = Do not list Directory names        ║
  32. ║   +U  = List Unusual files only     -U  = Do not list Unusual files (H,S)    ║
  33. ║   /C  = Continuous listing          /N  = No info   /BW  = Black & White     ║
  34. ║   /d: = Report space required on d: /RED= Redirect output (eg. d /red>PRN)   ║
  35. ║   /F  = Fast mode (CLS on start)    /Q  = Quiet mode. Only set ErrorLevel.   ║
  36. ║   /=ddmmyy, /~ddmmyy, /{ddmmyy, /}ddmmyy  List files dated on, not on,       ║
  37. ║    before, or after date. -n instead of ddmmyy specifies n days before today.║
  38. ║    ~,{ and } combinations, ? wildcard, and ddmmmyy allowed (eg. d /=??JUN93).║
  39. ║ Smart WildCards are supported (S*T matches SMART, not SOME that DOS would).  ║
  40. ║ D.EXE sets ErrorLevel to total files + directories listed. The number of     ║
  41. ║ files or dirs not selected due to options or smart wildcards is displayed.   ║
  42. ║ Press any key to suspend/resume, RETURN to scroll one line, END to scroll    ║
  43. ║ to end of directory, HOME or SPACE for fast new page, ESC to abort.          ║
  44. ╚════════════════════════════════════════════════════════════════════CADMOS════╝
  45.  
  46. If you want to redirect D's help screen to a printer or file, use D /? 
  47. (instead of the normal D ?). For example, D /? >prn,   D /? >d.hlp
  48.  
  49. Normally D.EXE clears the keyboard buffer before proceeding. With the /k
  50. switch (not shown in the Help Screen), the contents of the Keyboard Buffer are
  51. stored at program start and restored when the program exits. Usefull with
  52. keyboard enhancers that allow you to execute macros from a batch file etc.
  53.  
  54. You can preset options you use regularly via the CadmosD environmental variable.
  55. For example, for monochrome systems include the line "SET CadmosD=/bw" somewhere
  56. in your AutoEXEC.BAT file. If you want D to ignore the CadmosD environmental
  57. variable, use the /NE switch.
  58.  
  59. ══════════════════════════════════════════════════════════════════════════════
  60.                        D.EXE's Date selection system
  61. ──────────────────────────────────────────────────────────────────────────────
  62. You can use date specifiers to filter the files you wish displayed. The date
  63. operators are:
  64.   =    -    selects files created of modifyed on a given date.
  65.   }    -    selects files created of modifyed after a given date.
  66.   {    -    selects files created of modifyed before a given date.
  67.   ~    -    selects files created of modifyed on a date differing from a
  68.             given date.
  69.  
  70. Depending on the country settings on each host system, the date format can be
  71. ddmmyy (Europe), mmddyy (USA), or yymmdd (Japan). Starting from version 7.6,
  72. regardless of the country setting, ddmmmyy can be also used, and is
  73. translated internally to the current setting. D.EXE is about the only program
  74. I know that automatically inputs and outputs the date using the correct format
  75. even on its help display!
  76.  
  77. With all formats, if the date consists of between 1 and 5 digits, a 0 is
  78. prefixed.  If the number of digits is still less than 6, the missing digits
  79. are borrowed from the current date's string. Providing less than 6 digits
  80. should be avoided when using the Japanese format.
  81.  
  82. A question mark anywhere in the date string will be replaced by the
  83. equivalent digit of today's date string.
  84.  
  85. A minus sign before a date number is replaced by the date of so-many-days ago.
  86.  
  87. The special 0 date with which certain programs open a new file can be caught
  88. with D /=0 (or /=000080). Such dates are recorded, for example, by Zmodem when
  89. an uploaded file is aborted. DOS 6 will not show any date for such files.
  90. D will show such a date as 0-0-80.
  91.  
  92. The following examples assume European format and that today is 28 Oct 91.
  93.  
  94.   D /=281091  or  D /=2810  or  D /=28Oct  or  D /=28  or  D/=
  95.         will list all files created or modified today.
  96.   D /~28??91
  97.         will list all files created or modified on any day but the 28th day
  98.         of any month in 1991.
  99.   D /}-4
  100.         will list all files created or modified less than 4 days ago.
  101.   D /{12oct
  102.         will list all files created or modified before October 12, 1991.
  103.   d /{12oct /}20???? /~??1?90 +a-d
  104.         will list all files (but not directories) with their archive bit set,
  105.         created or modified before October 12, 1991, but at a day after the
  106.         20th of any month or year, except files dated October, November,
  107.         December (months 10,11,12) of 1990.
  108. ═══════════════════════════════════════════════════════════════════════════════
  109.  
  110. Of course you can combine date qualifiers with all other options.
  111.  
  112. For examle,
  113.   d +a s*t /= -d /a:
  114. will list all files:
  115.   (+a) whose archive bit is set, AND
  116.   (s*t) their name starts with an s and ends with a t (any extension) AND
  117.   (/=) were created or modified today AND
  118.   (-d) are not directories.
  119. It will also report (/a:) the space required on the diskette in drive a: if
  120. you were to copy them (this space differs from disk to disk, depending on the
  121. disk's cluster size. D.EXE will determine the disk's cluster size first).
  122.   
  123. Note that date qualifiers should be separated by a space, other options may
  124. be concatenated.
  125.  
  126. ══════════════════════════════════════════════════════════════════════════════
  127.                       The Cadmos Smart WildCard System
  128. ──────────────────────────────────────────────────────────────────────────────
  129.    The normal DOS * wildcard substitutes for any number of letters  and is
  130.    not concerned with the length of the resulting string. For example, S*T
  131.    expands to: ST, SmarT, SemicolumnorwhateverT, etc or even: Smarter T,
  132.    S       T (asterisk expanded to 7 spaces, T 9th). The expansions are then
  133.    truncated to the 8 letter DOS limit. S*T will therefore match with ST,
  134.    SMART, SEMICOLU, SMARTER, S and indeed any name starting with S.
  135.  
  136.    The Smart * wildcard will substitute for only such a number of letters
  137.    that will not throw out of the 8 letter DOS file name length limit any
  138.    following letters.
  139.  
  140.    In S*T the asterisk can substitute from 0 to 6 letters since there are
  141.    two letters to be accomodated. Therefore it will match any name with S
  142.    as its first letter and T as its last letter, be it 2nd or 3rd or ... or
  143.    8th. The same principle applies to more complex specifications such as
  144.    W*D*T.*E. The first * can substitute up to 5 chars, the second up to 5 -
  145.    the number substituted by the first, and the third up to 2. Therefore it
  146.    will match WilDtesT.exE but not WILD.EXE or WILDTEST.EXA that DOS would.
  147.  
  148.    There is no difference between the normal DOS ? wildcard and the ? Smart
  149.    wildcard. They both substitute for exactly one letter. 
  150.  
  151.    The DOS DIR command will append '.*' to a file name when no extension is
  152.    given. D.EXE will append *.* except if otherwise specified by the +E
  153.    switch (nothing is appended), or the -E switch (.* is appended)
  154.  
  155.  
  156. ══════════════════════════════════════════════════════════════════════════════
  157. D.EXE - Revision History
  158. ──────────────────────────────────────────────────────────────────────────────
  159.  
  160. 08 Jul 1993, version 8.4*
  161. ──────────────────────────
  162. Changed file size field width to accomodate huge files such as the DBLSPACE.???
  163.         files created by DOS 6's Stacker look-alike Double Space utility.
  164.  
  165. 28 Jun 1993, version 8.3*
  166. ──────────────────────────
  167. Added   /k switch. Normally D.EXE clears the keyboard buffer before proceeding.
  168.         With the /k switch, the contents of the Keyboard Buffer are stored at
  169.         program start and restored when the program exits. Usefull with keyboard
  170.         enhancers that allow you to execute macros from a batch file etc,
  171.         especially when D is used with the /Q switch set.
  172. Compiled using the official TP 6.0 Turbo.TPL. Norbert Juffa's library update
  173.         probably works faster with D but was dropped alltogether since it
  174.         is rather slow with For-To loops.
  175.  
  176. 22 Jun 1993, version 8.2*
  177. ──────────────────────────
  178. Added   /=0 date specifier to catch failed uploads etc.}
  179.  
  180. 28 Mar 1993, version 8.1a*
  181. ──────────────────────────
  182. Compiled using the new Turbo-Pascal 6.0 runtime library update
  183.         by Norbert Juffa, Wielandtstr. 14, 7500 Karlsruhe 1, Germany
  184.         Internet: S_JUFFA@IRAVCL.IRA.UKA.DE
  185.         ( about 5-10% quicker )
  186.  
  187. 21 Mar 1993, version 8.1*
  188. ──────────────────────────
  189. Added   /Q switch for Quiet mode. Only the ErrorLevel is set.
  190.  
  191. 05 May 1992, version 8.0*
  192. ──────────────────────────
  193. BugFix  When a path\name was given and path was not found, an 'invalid drive'
  194.         error was reported. Fixed!
  195. Added   /g parameter for 'Machine gun' error messages (not shown in help),
  196.         just for fun, to amuse your friends! 8*)
  197. ──────────────────────────────────────────────────────────────────────────────
  198.         
  199. 19 Apr 1992, version 7.10*
  200. ──────────────────────────
  201. BugFix  Fixed problem of not properly restoring Text Colors
  202. ──────────────────────────────────────────────────────────────────────────────
  203.         
  204. 28 Nov 1991, version 7.9*
  205. ──────────────────────────
  206. Added   CadmosD environmental variable can store often used options. To ignore
  207.         the CadmosD options, use /ne (No Env. variable).
  208.       - New option /bw translates Yellow to LightGray, other colors to White. 
  209.       
  210.  
  211. 03 Nov 1991, version 7.7*
  212. ──────────────────────────
  213. BugFix. The HELP display did not fit properly on the screen. Fixed.
  214. ──────────────────────────────────────────────────────────────────────────────
  215.         
  216. 28 Oct 1991, version 7.6*
  217. ──────────────────────────
  218. Added   MMM in date formats. The date format is based on the DOS country
  219.         settings and is selected automatically. Now you can also use DDMMMYY
  220.         regardless of your country setting. For example, even if you have a
  221.         USA country setting, you can also use /=28oct91 instead of /=102891
  222. BugFix  When the disk catalogued had no volume name, and the disk for which a
  223.         required space report was asked could not be read, an unpredictable
  224.         volume name was reported for the nameless disk! Fixed.
  225. ──────────────────────────────────────────────────────────────────────────────
  226.         
  227. 12 Oct 1991, version 7.5*
  228. ──────────────────────────
  229. BugFix. The -n date option would only work on systems using the European
  230.         DDMMYY date format. Now works on all systems.
  231. ──────────────────────────────────────────────────────────────────────────────
  232.         
  233. 06 Jun 1991, version 7.4*
  234. ──────────────────────────
  235. BugFix. The -n date option, introduced in version 7.0, would incorrectly wrap
  236.         around 1 Jan 1980, the older date DOS can handle. Now a warning is
  237.         issued and the program aborts.
  238. ──────────────────────────────────────────────────────────────────────────────
  239.  
  240. 31 May 1991, version 7.3*
  241. ──────────────────────────
  242. BugFix. An Error 18 (no more files) was wrongly issued when you tried to see
  243.         the root dir of a diskette drive, and that drive was empty. Fixed.
  244. ──────────────────────────────────────────────────────────────────────────────
  245.  
  246. 14 May 1991, version 7.2*
  247. ──────────────────────────
  248. BugFix. The pause feature did not work correctly under certain conditions, due
  249.         to an uninitialized variable in the Page routine. Fixed.
  250. ──────────────────────────────────────────────────────────────────────────────
  251.  
  252. 03 May 1991, version 7.1*
  253. ──────────────────────────
  254. BugFix. The -n date specifier routine was not aware of months with less than
  255.         31 days. Thus an "Illegal Date" error would occur if you used, for
  256.         example, D /=-3 on May 3d (April 31 was calculated). Fixed.
  257. ──────────────────────────────────────────────────────────────────────────────
  258.  
  259. 27 Apr 1991, version 7.0*
  260. ──────────────────────────
  261. Added   Now you can use -n in place of a date, where n is the number of days
  262.         before todate's date.
  263. ──────────────────────────────────────────────────────────────────────────────
  264.  
  265. 01 Feb 1991, version 6.5*
  266. ──────────────────────────
  267. Added   Total Kilobytes report (xxx out of ttt free)
  268. ──────────────────────────────────────────────────────────────────────────────
  269.  
  270. 28 Jan 1991, version 6.4*
  271. ──────────────────────────
  272. Added   ? wildcard in date specifiers. Stands for ANY digit in the date field.
  273. BugFix  Better handling of Volume name. There was a problem when a dot (.)
  274.         was included in the volume name. Fixed.
  275. ──────────────────────────────────────────────────────────────────────────────
  276.  
  277. 24 Dec 1990, version 6.3b*
  278. ──────────────────────────
  279. Change  Pressing SPACE has now the effect of fast new page.
  280. Added   Partial date specification possible. I.e. D /=1 is the same as
  281.         D /=011290 if today is any day in Decemper 1990.
  282.        -Custom FindFirst and FindNext procedures allow for DR DOS 5
  283.         compatibility. DR DOS 5's implementation of DOS services 4Eh and 4Fh
  284.         differs from standard DOS. The * in this and subsequent version numbers
  285.         specify DR DOS compatibility.
  286. ──────────────────────────────────────────────────────────────────────────────
  287.  
  288. 18 Dec 1990, version 6.3a
  289. ──────────────────────────
  290. BugFix  A 12:00 am time would not display correctly. Fixed.
  291. ──────────────────────────────────────────────────────────────────────────────
  292.  
  293. 26 Nov 1990, version 6.3
  294. ──────────────────────────
  295. Added   NotThisDate option (~ddmmyy). Shows all files with a date differing
  296.         from the date specified.
  297. ──────────────────────────────────────────────────────────────────────────────
  298.  
  299. 10 Nov 1990, version 6.2
  300. ──────────────────────────
  301. Added   Scrolling window display. Now, if the directory listing does not fit
  302.         in one page, the screen is divided in two windows. The top 3 line
  303.         window will always display the directory titles (volume name,
  304.         Directory of ..., etc.)
  305. ──────────────────────────────────────────────────────────────────────────────
  306.  
  307. 06 Oct 1990, version 6.0
  308. ──────────────────────────
  309. Major Update!
  310. Added   Smart WildCard system. S*T matches SMART, not SOME that DOS would!
  311.  
  312. Added   Date selection system. 
  313.         /=ddmmyy will select all files dated on ddmmyy
  314.         /}ddmmyy will select all files dated after ddmmyy
  315.         /=ddmmyy will select all files dated before ddmmyy
  316.         ddmmyy follows your particular country information. That is, if your
  317.         country information specifies the USA mmddyy, then specify dates
  318.         using that format. Even the HELP screen senses the right format and
  319.         lists the options accordingly.
  320. ──────────────────────────────────────────────────────────────────────────────
  321.  
  322. 06 Oct 1990, version 5.5
  323. ──────────────────────────
  324. Added   Colors, and better layout of directory listing.                    
  325. Started recording info on version updates.
  326. ──────────────────────────────────────────────────────────────────────────────
  327.  
  328. 1987, version 1.0
  329. ──────────────────
  330. Exploited Turbo Pascal's direct screen writes to produce a faster alternative
  331. to DOS's DIR command.
  332.  
  333.