home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Format 15
/
DISK15.iso
/
PDIR
/
README.DOC
< prev
Wrap
Text File
|
2015-12-16
|
8KB
|
275 lines
┌──── ┌──┐ ┌┬┐ ┌──┐ ┌─── ┌──┐ ┌─┐│ ─┬─┬──┐┌──┐ ┌──┐ ─┬─ ┌─┐ ┌──
└───┐ ├──┤ │││ │ │ └──┐ │ │ │ ││ │ ├─┬┘│──┤ │ ┌┘ │ │ ││ │ ┌┐
┌─────┘ │ │ │ │ ├──┘ ──┘ │ │ │ └┘ │ │ │ │ │ └─┘ │ │ ││ │ ││
│ └──┘ ─┴─ └┘ └─┘│
└──────────────────────────p r e s e n t s───────────────────────────┘
PDIR.EXE
(Paul's DIRectory)
Simple type: PDIR -? for help.
Introduction.
PDIR was written to take the piss, and in some circumstances better HOTDir.
It has been written entirely in TURBO PASCAL ver6.0, compiled into an EXE
file and then had several extra things done to it so that code tampering
"lamers" cannot easily change the code!
The Rest.
I cannot be bothered to type loads, so, I'll keep it brief so that you
don't get bored! Anyway for a basic description of all of the functions,
simply type:
PDIR -?
for help! For more in depth information, read on...
Basics (like my brain).
For a simple approach and for those who do not like to experiment, simply
type:
PDIR
for your standard run-of-the-mill directory listing. This will give you a
description of ALL files in the current directory (if it works). The
program will list different files in different colours, ie EXEcutable
files will be coloured light-cyan. The size of the files will be given in
BYTE format. Commands can also be entered as in the following format:
PDIR [options] [d:] [path] [filename[.EXT]] [options]
Where:
[options] is a command/option selectable from the following list.
[d:] is the DRIVE letter, eg C:
[path] the path/directory you wish to list. (default: present)
[filename[.EXT]] the type of files you are looking (default: *.* ie ALL)
And there must be a space between each option!
Options follow...
Kilobyte Format.
This can be accomplished by placing a "-Y" format in the options place.
When this is done, the size of the file will be displayed in kilobytes or
"K".
Clearing Screen.
With a directory full of loads of utilities (like mine), a screen clear
is sometimes useful when you have more than one page of files to look
through, as this can tidy up appearances and maybe even improve
readabilty of the files/extensions. Anyway enough babbling, to do this,
simply add a "-K" to the options (K as in Klear, whoever thought of that
MUST be dence... okay I admit to it, it was me!).
Information Screen.
This tells you other boring stuff about the program! It is also very
boring, so only read once! Anyway, if you do get desperate, simply add a
"-I" as a single option and no other commands.
Colour Cycling
There are many different ways to colour files besides the ones I use as
standard. These can be used as follows:
-En Change colour of EXEcutable files.
-Hn Change colour of HIDDEN files.
-Mn " " " " " coM files.
-Rn " " " " " diRectory files.
-Dn " " " " " Doc/txt files.
-Bn " " " " " Batch files.
-Zn " " " " " ZIPPED files (eg ARJ LZH ZIP).
-On " " " " " Other non-standard files.
For an example how these works, look at the file DEMO.BAT for an example of
what colours can be used! With the colouring, you have a choice of 15 colours
these colours are indexed, 1 thru 9 and A thru F. To use this index, simply
replace the letter "n" above with the colour index of your choice, and if
you want to know what each index code represents, read on:
┌───────────────┬──────────────┬──────────────┬──────────────────┬───────────┐
│1 = Blue │2 = Green │3 = Cyan │ 4 = Red │5 = Magenta│
├───────────────┼──────────────┼──────────────┼──────────────────┼───────────┤
│6 = Brown │7 = Light-gray│8 = Dark-Gray │ 9 = Light-blue │ │
├───────────────┼──────────────┼──────────────┼──────────────────┼───────────┤
│A = Light-Green│B = Light-cyan│C = Lightred │ D = Light-magenta│ │
├───────────────┼──────────────┼──────────────┼──────────────────┼───────────┤
│E = Yellow │F = White │ │ │ │
└───────────────┴──────────────┴──────────────┴──────────────────┴───────────┘
Table of colours available.
Examples of PDIR.
Okay, now we have the basic idea of PDIR and its uses. But, to me, an
explanation is no good without some examples to make the idea clearer (ie
I talk a load of mumbo jumbo, so I'll use some examples to illustrate the
program.
Eg 1.
C:\ >PDIR /K
This will do a listing of the root directory, clearing the screen before each
display.
Eg 2.
C:\ >PDIR UTILS
This will give a directory listing of the directory UTILS on drive "C".
Eg 3.
C:\ >PDIR UTILS /K /Y
This will again show you whats in UTILS, this time clearing the screen and
showing the size of the files in Kilobytes. (Remember the SPACE)
Eg 4.
C:\ >PDIR /?
Displays the HELP screen, just encase you haven't been bothered to read this.
Eg 5.
C:\ >PDIR UTILS\*.EXE
Looks through directory UTILS again and looks for all EXEcutable files and
displays them on screen.
Eg 6.
C:\ >PDIR UTILS\*.EXE /E6
Does the same as Eg 5, but this time will display the EXE files in BROWN
rather than its default colour -=light-cyan.
Eg 7.
C:\ >PDIR UTILS /L
Again, same as example 2, but this time will display the directory in a
single column.
Eg 8.
A useful idea is if you are looking for a certain type of file in a large
directory, what could be done is either make everyother file less noticable
by giving it a colour of "8" or darkgray, else making the file you are looking
for a less noticable file! For example, I have a directory full of DOCs and
init I had a few other files, so, I entered this command:
C:\ >PDIR /D8 /R8
Which told the program to make ALL DOC/TXT files and DIRECTORIES colour,
darkgray, ie not very clear.
I hope you enjoy using this program as I have creating it (well, I once had
a nice head of hair, I've now pulled it out!) If there are any further
questions you have, or ideas for the program, or are MUG enough to want to
pay money to get your name on the program, then write to me!
Thanks goto:
Paul Brindley:
For giving me the idea of selecting colours for files, and for scrutinising
the whole of PDIR right down to its smallest bits.
Stephanie Pike:
Because she is very nice (I always say that)
Paul Hardwick:
Because he'll be testing the program for me too!
Mike Gledhill:
Because even he was flabbergastted at this program! (and he the assembler).
Paulware?
THIS PROGRAM IS PAULWARE, THAT IS THAT THE PROGRAM IS FREE (ie PD) BUT IF
YOU WANT AN UNNECESSARY LUXURY (ie in this program have your name printed
at the header of the program) THEN YOU PAY A SMALL FEE (few quid) FOR IT!
ELSE YOU MAY DISTRIBUTE THE PROGRAM AS FREELY AS YOU WISH AS LONG AS YOU
INCLUDE THESE FILES AND THAT YOU DO NOT MODIFY THE PROGRAM IN ANYWAY.
-= PDIR is (c) Sampson Trading who IS Paul Askew. =-
-= Read the file PAUL.DOC for other programs. =-