home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
australi
/
drg.lzh
/
DRG.DOC
< prev
next >
Wrap
Text File
|
1989-09-17
|
3KB
|
67 lines
DRG.DOC
=======
by John Orlay Syd-PC
September 1989
"DRG" is my acronym for Directory Report Generator.
You must read DRG_READ.1ST as it is the preface to this DRG.DOC
Purpose of DRG.BAT
~~~~~~~~~~~~~~~~~~
DRG.BAT displays options relating to the SOURCE, SCOPE and OUTPUT of reporting
diectories, files and statistics, and having solicited your responses, it
generates the required report to the screen, or to the printer, or to
a diskfile named DIRFIL .
Requirements
~~~~~~~~~~~~
XT/AT with hard-disk C: running under MsDos 3.x (Tested on XT & MsDos 3.21)
Video: any (Tested on CGA + Monochrome screen)
Printer: any (This version of DRG.BAT is configured to EPSON LQ500)
Files required on-line: DRG.BAT, SDL.COM, ANSWER.COM, FLASHSET.COM .
How to run DRG.BAT
~~~~~~~~~~~~~~~~~~
At the Dos prompt, Enter DRG
Further screen-messages will progressively display categories of options,
prompting you to select one from each of the three successively displayed
categories. There is a special built-in facility for you to specify selective
reporting, if you so wish. All your responses will be echoed on the screen.
After your final response DRG.BAT will then generate the report complying with
your choices.
The categories and options you will progressively see are :
SOURCE OPTIONS
Return-Key = current drv:\dir\*.*
R = current drv:\rootdir\*.*
? = you will be prompted to specify the SOURCE
SCOPE OPTIONS
1 = Indented Tree only
2 = Indented Tree plus Ascii sorted cross-referenced filenames
3 = Indented list of directories & contained filenames
OUTPUT OPTIONS
Return-Key = to Screen, 2col, pausing
H = to Printer, 1col, paginated
W = to C:\DIRFIL 1col
I wrote DRG.BAT to solve the following problem :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Even though I used to run W.C.Bodycomb's excellent SDL from Dos, as a
command-line with parameters, I could never remember what syntax to use when
and why.
So, what I needed, was an interactive .BAT program, the writing of which was
made easy by ANSWER.COM, a wonderful utility by an unknown author, and Jim
Tucker's elegant printer-setter program FLASHSET.COM .
A note about the Printer
~~~~~~~~~~~~~~~~~~~~~~~~
Looking at a listing of DRG.BAT itself, you will see one line starting with
the word FLASHSET, followed by a long string of coding, to suit an EPSON LQ500
and my personal preferences for the printed format of the report.
You can change this string to suit your printer and your taste.
oooOOOooo