home *** CD-ROM | disk | FTP | other *** search
/ PC Format 15 / DISK15.iso / PDIR / README.DOC < prev   
Text File  |  2015-12-16  |  8KB  |  275 lines

  1.      ┌──── ┌──┐ ┌┬┐ ┌──┐ ┌─── ┌──┐ ┌─┐│    ─┬─┬──┐┌──┐ ┌──┐ ─┬─ ┌─┐  ┌──
  2.      └───┐ ├──┤ │││ │  │ └──┐ │  │ │ ││     │ ├─┬┘│──┤ │ ┌┘  │  │ ││ │ ┌┐
  3.    ┌─────┘ │  │ │ │ ├──┘  ──┘ │  │ │ └┘     │ │ │ │  │ └─┘   │  │ ││ │ ││
  4.    │                          └──┘                          ─┴─   └┘ └─┘│
  5.    └──────────────────────────p r e s e n t s───────────────────────────┘
  6.  
  7.  
  8.                                   PDIR.EXE
  9.                              (Paul's DIRectory)
  10.  
  11.                       Simple type: PDIR -?   for help.
  12.  
  13.  
  14.  
  15.  
  16.  
  17. Introduction.
  18.  
  19. PDIR was written to take the piss, and in some circumstances better HOTDir.
  20. It has been written entirely in TURBO PASCAL ver6.0, compiled into an EXE
  21. file and then had several extra things done to it so that code tampering
  22. "lamers" cannot easily change the code!
  23.  
  24.  
  25.  
  26.  
  27.  
  28. The Rest.
  29.  
  30. I cannot be bothered to type loads, so, I'll keep it brief so that you
  31. don't get bored! Anyway for a basic description of all of the functions,
  32. simply type:
  33.  
  34.                                 PDIR -?
  35.  
  36. for help! For more in depth information, read on...
  37.  
  38.  
  39.  
  40.  
  41.  
  42. Basics (like my brain).
  43.  
  44. For a simple approach and for those who do not like to experiment, simply
  45. type:
  46.  
  47.                                 PDIR
  48.  
  49. for your standard run-of-the-mill directory listing. This will give you a
  50. description of ALL files in the current directory (if it works). The
  51. program will list different files in different colours, ie EXEcutable
  52. files will be coloured light-cyan. The size of the files will be given in
  53. BYTE format. Commands can also be entered as in the following format:
  54.  
  55.            PDIR [options] [d:] [path] [filename[.EXT]] [options]
  56.  
  57. Where:
  58.  
  59.        [options]   is a command/option selectable from the following list.
  60.             [d:]   is the DRIVE letter, eg C:
  61.           [path]   the path/directory you wish to list. (default: present)
  62. [filename[.EXT]]   the type of files you are looking (default: *.* ie ALL)
  63.  
  64. And there must be a space between each option!
  65.  
  66.  
  67.  
  68.  
  69.  
  70. Options follow...
  71.  
  72.  
  73.  
  74.  
  75.  
  76. Kilobyte Format.
  77.  
  78. This can be accomplished by placing a "-Y" format in the options place.
  79. When this is done, the size of the file will be displayed in kilobytes or
  80. "K".
  81.  
  82.  
  83.  
  84.  
  85.  
  86. Clearing Screen.
  87.  
  88. With a directory full of loads of utilities (like mine), a screen clear
  89. is sometimes useful when you have more than one page of files to look
  90. through, as this can tidy up appearances and maybe even improve
  91. readabilty of the files/extensions. Anyway enough babbling, to do this,
  92. simply add a "-K" to the options (K as in Klear, whoever thought of that
  93. MUST be dence... okay I admit to it, it was me!).
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100. Information Screen.
  101.  
  102. This tells you other boring stuff about the program! It is also very
  103. boring, so only read once! Anyway, if you do get desperate, simply add a
  104. "-I" as a single option and no other commands.
  105.  
  106.  
  107.  
  108.  
  109.  
  110. Colour Cycling
  111.  
  112. There are many different ways to colour files besides the ones I use as
  113. standard. These can be used as follows:
  114.  
  115.   -En           Change colour of EXEcutable files.
  116.   -Hn           Change colour of HIDDEN files.
  117.   -Mn            " "    " "   "  coM files.
  118.   -Rn            " "    " "   "  diRectory files.
  119.   -Dn            " "    " "   "  Doc/txt files.
  120.   -Bn            " "    " "   "  Batch files.
  121.   -Zn            " "    " "   "  ZIPPED files (eg ARJ LZH ZIP).
  122.   -On            " "    " "   "  Other non-standard files.
  123.  
  124. For an example how these works, look at the file DEMO.BAT for an example of
  125. what colours can be used! With the colouring, you have a choice of 15 colours
  126. these colours are indexed, 1 thru 9 and A thru F. To use this index, simply
  127. replace the letter "n" above with the colour index of your choice, and if
  128. you want to know what each index code represents, read on:
  129.  
  130.  
  131. ┌───────────────┬──────────────┬──────────────┬──────────────────┬───────────┐
  132. │1 = Blue       │2 = Green     │3 = Cyan      │ 4 = Red          │5 = Magenta│
  133. ├───────────────┼──────────────┼──────────────┼──────────────────┼───────────┤
  134. │6 = Brown      │7 = Light-gray│8 = Dark-Gray │ 9 = Light-blue   │           │
  135. ├───────────────┼──────────────┼──────────────┼──────────────────┼───────────┤
  136. │A = Light-Green│B = Light-cyan│C = Lightred  │ D = Light-magenta│           │
  137. ├───────────────┼──────────────┼──────────────┼──────────────────┼───────────┤
  138. │E = Yellow     │F = White     │              │                  │           │
  139. └───────────────┴──────────────┴──────────────┴──────────────────┴───────────┘
  140.   Table of colours available.
  141.  
  142.  
  143.  
  144.  
  145.  
  146. Examples of PDIR.
  147.  
  148. Okay, now we have the basic idea of PDIR and its uses. But, to me, an
  149. explanation is no good without some examples to make the idea clearer (ie
  150. I talk a load of mumbo jumbo, so I'll use some examples to illustrate the
  151. program.
  152.  
  153. Eg 1.
  154.  
  155.                  C:\ >PDIR /K
  156.  
  157. This will do a listing of the root directory, clearing the screen before each
  158. display.
  159.  
  160.  
  161. Eg 2.
  162.  
  163.                  C:\ >PDIR UTILS
  164.  
  165. This will give a directory listing of the directory UTILS on drive "C".
  166.  
  167.  
  168. Eg 3.
  169.  
  170.                  C:\ >PDIR UTILS /K /Y
  171.  
  172. This will again show you whats in UTILS, this time clearing the screen and
  173. showing the size of the files in Kilobytes. (Remember the SPACE)
  174.  
  175.  
  176. Eg 4.
  177.  
  178.                  C:\ >PDIR /?
  179.  
  180. Displays the HELP screen, just encase you haven't been bothered to read this.
  181.  
  182.  
  183. Eg 5.
  184.  
  185.                 C:\ >PDIR UTILS\*.EXE
  186.  
  187. Looks through directory UTILS again and looks for all EXEcutable files and
  188. displays them on screen.
  189.  
  190.  
  191. Eg 6.
  192.  
  193.                 C:\ >PDIR UTILS\*.EXE /E6
  194.  
  195. Does the same as Eg 5, but this time will display the EXE files in BROWN
  196. rather than its default colour -=light-cyan.
  197.  
  198. Eg 7.
  199.  
  200.                 C:\ >PDIR UTILS /L
  201.  
  202. Again, same as example 2, but this time will display the directory in a
  203. single column.
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210. Eg 8.
  211.  
  212. A useful idea is if you are looking for a certain type of file in a large
  213. directory, what could be done is either make everyother file less noticable
  214. by giving it a colour of "8" or darkgray, else making the file you are looking
  215. for a less noticable file! For example, I have a directory full of DOCs and
  216. init I had a few other files, so, I entered this command:
  217.  
  218.                 C:\ >PDIR /D8 /R8
  219.  
  220. Which told the program to make ALL DOC/TXT files and DIRECTORIES colour,
  221. darkgray, ie not very clear.
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229. I hope you enjoy using this program as I have creating it (well, I once had
  230. a nice head of hair, I've now pulled it out!) If there are any further
  231. questions you have, or ideas for the program, or are MUG enough to want to
  232. pay money to get your name on the program, then write to me!
  233.  
  234.  
  235.  
  236.  
  237.  
  238. Thanks goto:
  239.  
  240.  
  241. Paul Brindley:
  242.  
  243. For giving me the idea of selecting colours for files, and for scrutinising
  244. the whole of PDIR right down to its smallest bits.
  245.  
  246.  
  247. Stephanie Pike:
  248.  
  249. Because she is very nice (I always say that)
  250.  
  251.  
  252. Paul Hardwick:
  253.  
  254. Because he'll be testing the program for me too!
  255.  
  256.  
  257. Mike Gledhill:
  258.  
  259. Because even he was flabbergastted at this program! (and he the assembler).
  260.  
  261.  
  262.  
  263.  
  264. Paulware?
  265.  
  266. THIS PROGRAM IS PAULWARE, THAT IS THAT THE PROGRAM IS FREE (ie PD) BUT IF
  267. YOU WANT AN UNNECESSARY LUXURY (ie in this program have your name printed
  268. at the header of the program) THEN YOU PAY A SMALL FEE (few quid) FOR IT!
  269. ELSE YOU MAY DISTRIBUTE THE PROGRAM AS FREELY AS YOU WISH AS LONG AS YOU
  270. INCLUDE THESE FILES AND THAT YOU DO NOT MODIFY THE PROGRAM IN ANYWAY.
  271.  
  272.           -= PDIR is (c) Sampson Trading who IS Paul Askew. =-
  273.  
  274.             -= Read the file PAUL.DOC for other programs. =-
  275.