home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 3
/
CDASC03.ISO
/
sorties
/
1962
/
pljv2.exe
/
LJV.DOC
< prev
next >
Wrap
Text File
|
1992-02-18
|
65KB
|
1,777 lines
LJV Tool Kit for OS/2 and DOS Release 3
February 1992
Copyright 1989-1992 by Les J. Ventimiglia
Introduction
____________
Over the years, I have been developing tools to increase my
productivity in programming for OS/2 and/or DOS. My goal was
to produce or at least enhance many of the commands that come
as default with the operating system. I have put several of
these onto bulletin boards to test the shareware concept. I
have asked for a meager amount from users to support my
development.
Now, in an effort to let it be known that shareware is NOT
freeware, I am forced to submit programs that work correctly
but lack some advanced features. To get the advanced
features, each user will have to register with me for a small
fee.
Contents
________
The following programs are included in this release of the
LJV Tool Kit.
Program Rev. Comments Price for registered
version (bound or protected)
------------ ---- ---------------------------------------------
LJV.DOC This document file.
ATTR.EXE 6.4 File attribute changer. 5
BGREP.EXE 6.6 Binary Grep 10
COMP.EXE 7.3 Binary File Compare 10
ERA.EXE 6.8 File erase. 5
FCOMP.EXE 7.1 Source File Compare 10
FF.EXE 6.5 File Find
FREE.EXE 6.5 Disk free space
JET.EXE 2.3 HP LaserJet print program 5
LS.EXE 6.6 List Directory/Files
LWHAT.EXE 1.0 What string/checksum displayer
RFD.EXE 6.9 Remove Files/Directories 5
SWEEP.EXE 6.3 Execution Sweeper
TAB.EXE 6.4 Tab remover/inserter. 5
TOUCH.EXE 6.4 File Date/Time toucher.
TREE.EXE 6.3 Directory tree displayer.
VCD.EXE 6.9 Ventimiglia Change Directory 15
C.CMD Batch file for use with VCD.
UPDATE.EXE 1.1 File update utility. 10
PERF.EXE 1.1 Disk performance tester.
The price for all of the registered versions of the tools is
$45 to $60. When ordering, one should specify which set of
tools is being purchased, either the bound set (BLJV $60) or
the protected mode only set (PLJV $45).
Features
________
- simple command line interface.
- color (most programs)
- HPFS long filename support.
- added functionallity over OS versions of similar programs.
- Bound programs run under OS/2 and in the DOS-BOX or under
DOS.
Changes from previous release
_____________________________
Release 1a has updated versions of FCOMP, JET and SWEEP.
Release 1b has updated versions of COMP and FREE.
Release 1c has updated versions of FCOMP, LCD and ERA.
Release 1d has LCD renamed to VCD to eliminate confusion
between my directory change program and
another program also called LCD.
TAB.EXE has been updated.
06/91 Release 1e has removed the beep from non-restricted
versions.
11/91 Release 2 has improved COMP.
02/92 Release 3 has updated version of ATTR, BGREP, COMP,
ERA, FCOMP, FF, FREE, LS, RFD, SWEEP, TREE,
TOUCH and VCD.
Added UPDATE and PERF utilities.
VIO/Network/Windows Warnings
____________________________
Through out the testing of the enclosed tools, I have found
that the VIO functions used to display out put onto the
screen may not work as expected when run in real mode in a
Windows windowed DOS session or if your are running the
Novell client software on top of real mode DOS.
For Windows 3.0, I have found that if I run a VIO'ed program
in a windowed DOS box, I tend to get black characters on a
black background. This problem goes away as soon as the
cursor reaches the bottom of the windowed box.
For Novell, I have found that running VIO'ed programs tend to
crash the client software if the network card is set to I/O
port at 2e0h. The solution to this problem it to move the
port address to 300h. Port 2f0h tends to conflict with
Windows 3.0.
Common parameter syntax
_______________________
All programs in this tool kit share a common parameter
parsing philosophy. In general parameters can be entered in
any order (except where specified).
Options are preceeded by the forward slash character, "/".
The dash character is not used for options, I just found too
many cases where someone used the dash character in filenames
making parsing difficult.
Options can be combined or be specified separately before or
after any of the filespecs.
/sv == /v/s == /s /v
The help option is "/?" and is available on all programs.
CHANGING FILENAME COLORS and ADDING COLORS FOR NEW EXTENSIONS
_____________________________________________________________
Several of my programs use color to distinguish the various
types of files. If you do not like the default color scheme,
you can patch the file at your own risk. Only experienced
computer users should attempt patching programs. Each
program listed below allows color changes.
ATTR.EXE ERA.EXE FF.EXE
LS.EXE RFD.EXE
Each of these programs contain a table of extensions, each
with its own color. The table allows one to specify up to
30 filename extensions to color. You should know how to use
DEBUG or SYMDEB or similar patching program to make these
modifications. Always make a backup copy of the program
before patching.
The patches will be made to a table that contains the
extensions and the associated color. You can find the table
by searching for the string "HERE".
After the string "HERE" are 8 bytes, in the following order:
- Foreground Color of Messages.
- Foreground Color of Directory entries.
- Foreground Color of Long File Names (those > 11 characters).
- Default Foreground Color.
- 3 bytes of zeros.
- Number of color entries (NumberOfEntries).
After the NumberOfEntries byte, starts the extension color
table. Each entry in the table is 4 bytes long, the first 3
bytes contain the extension in UPPERCASE letters. If the
extension is only 1 or 2 bytes in length, insert blanks
BEFORE the extension to make it 3 bytes long. The extension
"C" should be adjusted to be " C". The byte following the
extension is its foreground color. DO NOT PUT MORE THAN 30
ENTRIES IN THE TABLE.
Once you have filled in the extension table, you will have to
put the count of extension entries in the NumberOfEntries
byte. The default table has the following 17 extensions:
ASM COM EXE LNK TXT
BAT DEF H LRF
C DLL INC OBJ
CMD DOC LIB SYS
You can add to this table (max 30 entries) or change any of
the existing ones, just make sure the NumberOfEntries field
reflects the new total of entries.
SHAREWARE
_________
LJV.ZIP is distributed under the SHAREWARE concept.
You are encouraged to copy and share this kit with other users.
Please do not remove the copyright or the user-supported notice.
SUPPORT SHAREWARE WITH YOUR REGISTRATION FEES!!
SHAREWARE is based on these three beliefs:
1. The value of software is best assessed by the
user on his own system.
2. Creation of personal computer software can and
should be supported by computing community.
3. That copying of programs should be encouraged,
rather than restricted.
Copyright/License/Warranty
__________________________
This document and the current version of this took kit
("the software") are copyrighted by the author. The
copyright owner hereby licenses you to: use the software; make
as many copies of the program and documentation as you wish;
give such copies to anyone; and distribute the software and
documentation via electronic means.
However, you are specifically prohibited from charging, or
requesting donations, for any such copies, however made.
No copy of the software may be distributed or given away without
this document; and this notice must not be removed.
There is no warranty of any kind, and the copyright owner is not
liable for damages of any kind. By using the software, you agree
to this.
Registered versions of LJV programs will not display the
"Not Registered" notice when run. These registered programs
MUST not be copied except for purposes of backup and must be
used only by the registered owner. You are prohibited from
any other copying of registered versions by any other means.
Registration
____________
To receive a registered tool kit, send registration fee
and/or questions to :
Les J. Ventimiglia
15247 Monroe Ave.
Moorpark, CA. 93021
(805) 529-6370
Individual programs can be separately registered. Pricing
for each program can be found in the Contents section or in
the help info for the program.
Group discounts should be negotiated.
OS/2 Protected mode tool kit (PLJV.ZIP)...........$45.00
Bound version tool kit.......(BLJV.ZIP)...........$60.00
When ordering, please specify quantity, size of disk
(3 1/2" or 5 1/4"), and execution model (Bound or Protected).
The Protected versions run only in OS/2 full or windowed
sessions. The Bound versions run in OS/2 full or windowed
sessions and in DOS full or windowed sessions and in Real
mode DOS.
_____________________________________________________________
ATTR.EXE
_____________________________________________________________
ATTR is an enhanced ATTR command.
Change History
______________
Version 6.0 12sep90 is the first release as Shareware.
Version 6.1 25feb91 modified for registration.
Version 6.2 18jun91 Removed beep from non-registered version.
Version 6.3 29nov91 Fixed display of files in hidden directories.
Version 6.4 17feb92 Cleaned video up.
Syntax
______
ATTR [/sqvpm] [-+=ahrs] [filespec ...]
Where : /s = Traverse all subdirectories below the ones
specified.
/q = Quiet mode. Nothing is displayed.
/m = Mono (no color).
/p = Pause when screen is full.
/v = Forces verification of each attribute change.
You then have the option of changing or not
changing the attribute for each file.
/? = For this usage summary.
- removes attributes.
+ adds attributes.
= sets attributes to only those specified.
a (archive) h (hidden) r (readonly) s (system)
filespec = Any filename or directory. Multiple
specifications can be used, long filenames that
contain spaces should be enclosed in quotes.
Wild card characters can be used in any specification.
If verify (/v) if not specified, the files will be displayed
along with the attributes associated with the file.
If the entry is a directory, it will be preceeded by "\".
All 8.3 names will be listed first, followed by 8.3 directory
names, HPFS long file name files, and finally HPFS long file name
directories.
NOTE: The /s and /v options can be found only on the registered
version.
EXAMPLES
________
To display the attributes of files in the current directory and
all files in its subdirectories:
ATTR /s
To set attr.doc and attr.exe to readonly:
ATTR attr.doc attr.exe +r
To set just the archive bit for attr.doc:
ATTR =a attr.doc
To remove the hidden bit from all files on the disk:
ATTR -h \*.*/s
_____________________________________________________________
BGREP.EXE
_____________________________________________________________
BGREP (Binary Grep). Searches for binary patterns within
files.
This documentation describes the registered version of BGREP.
The non-registered version does not support the /s
options. Nor does it allow wild card hex patterns.
Change History
______________
Version 6.0 10jun90 Added HPFS support.
Version 6.1 11sep90 was the first release as Shareware.
Added Pause (/p) switch.
Version 6.2 20sep90 Fixed "out of memory" in DOS.
Version 6.3 03oct90 Cleaned up typo in help message.
Version 6.4 25feb91 Updated copyright, modified for
registration.
Version 6.5 18jun91 Removed beep from non-registered version.
Version 6.6 17feb92 Cleaned up video.
Syntax
______
BGREP [/smp] filespec hex-pattern
Where : /s = Traverse all subdirectories below the ones
specified.
/m = Mono (no color).
/p = Pause when screen is full.
/? = For this usage summary.
filespec = File(s) to search. Only one
specification can be used, long filenames that
contain spaces should be enclosed in quotes.
Wild card characters can be used in the specification.
hex-pattern = any even sequence of hexidecimal
digits, (0..9,A..F,a..f). This pattern must
contain an even number of digits (2 per byte).
No spaces are allowed within the pattern. To
specify any byte as wild replace the
corresponding two hex digits with two question
marks (??).
OPERATION
_________
For each match of "hex-pattern" found, BGREP will display the
pattern in hex and ascii format along with the starting
offset into the file.
EXAMPLES
________
To find all occurrances of 0334 in "myfile" use:
BGREP myfile 0334
To find all occurances of a 4 byte hex pattern starting with
a wild hex digit followed by 414243 in any of the files in
the current directory :
BGREP *.* ??414243
OS/2 users should use * instead of *.* to search all files.
_____________________________________________________________
COMP.EXE
_____________________________________________________________
COMP (Binary COMPare files). This utility allows one to
compare all the files in one tree against those of another
tree, great for checking backups.
This documentation describes the registered version of COMP.
The non-registered version does not support the /e or /s
options. Nor does it display the mis-matches found.
Change History
______________
Version 6.0 24jun90 was the first release as Shareware.
Version 6.1 15aug90 Modified display of data mismatch offset
from decimal to hexidecimal.
Version 6.2 11sep90 Fixed "comp x: y:" bug.
Fixed "comp *.xyz *.x" bug.
Fixed protected mode wild card matching.
Version 6.3 11oct90 Increased compare buffer size to 32k from 20k
Version 6.4 12oct90 Added code to display first 10 mismatches.
Version 6.5 19nov90 Increased compare buffer size to 32k from 20k
Version 6.6 09dec90 Fixed "comp abc.* efg.*" bug
Version 6.7 18dec90 Split into registered and non-registered
versions.
Version 6.8 25feb91 Updated copyright.
Version 6.9 05mar91 Number each mismatch, indicate when more
than 10 mismatchs occur (registered only).
Fixed display of % sign.
Version 6.9a 18jun91 Removed beep from non-registered version.
Version 7.0 08nov91 Added /v and /a options.
Version 7.1 21nov91 When using /s option, the name of the
directories are now displayed.
Fixed message when source was not found.
Version 7.2 29nov91 Added ability to scan hidden directories.
Version 7.3 17feb92 Cleaned up video.
Syntax
______
COMP [/empsva] filespec1 filespec2
Where : /m = Mono (no color).
/? = Displays usage summary.
/e = Display errors only.
/p = Pause when screen is full.
/s = Traverse all subdirectories below the ones
specified.
/v = Display up to 10 lines of bytes that are
mis-matched.
/a = Display all bytes that are mis-matched.
filespec1 is the source file or directory
filespec2 is the target file or directory
Wild card characters are accepted in the filespecs. Long file
names containing spaces should be enclosed in quotes.
The following errors may appear:
NOT FOUND : The target file could not be found.
SIZE MISMATCH : The source and target are of different sizes.
DATA MISMATCH @XXXXXXXX : The source and target are the same
size, but differ in content starting at xxxxxxx.
EXAMPLES
________
To check the contents of one tree on drive c: against the
contents of your backup on drive d:
COMP c:\source d:\target /s
The same operation as above but showing errors only:
COMP /se c:\source d:\target
To compare only assembler source files in the current
directory against those in the parent directory:
COMP *.asm ..
ERRORLEVEL
__________
Since COMP sets the errorlevel on return to the command
prompt, it can be used in batch files. The Errorlevel will
be set to a value between 0 and 7 as follows:
No errors found returns 0.
Any target files not found will OR in a 1.
Any file size mis-matches wll OR in a 2.
Any file data mis-compares will OR in a 4.
Thus if any target files are not found and if there is a data
mis-compare, the errorlevel will be set to 4 OR'd with 1 = 5.
_____________________________________________________________
ERA.EXE
_____________________________________________________________
ERA (Erase/Delete Files). A safe file deletion program.
This documentation describes the registered version of ERA.
The non-registered version does not support the /s, /v or /a
options.
Change History
______________
Version 6.0 10jun90 Added HPFS long filename support
Version 6.1 11sep90 First release as Shareware.
Modified colors to use a color table.
Corrected detection of short extensions
for the display color.
Version 6.2 03oct90 Added code to not delete "ea data. sf"
Version 6.3 04oct90 /av options no longer give error message.
Version 6.4 25feb91 Updated copyright, modified for
registration.
Version 6.5 08apr91 Fixed display when one file was deleted
using the /sv options.
Version 6.6 18jun91 Removed beep from non-registered version.
Version 6.7 29nov91 Fixed deletion of files in hidden dirs.
Version 6.8 17feb92 Cleaned up video.
Syntax
______
ERA [/pqsvma] filespec...filespec
Where : /p = Preview mode. This mode allows you to review
what would be deleted (removed) without actually
deleting the files.
/q = Quiet mode. Nothing is displayed on the screen.
No verification is requested.
/s = Traverse all subdirectories below the ones
specified.
/v = Forces verification of each deletion. You then have
the option of deleting or not deleting each file.
/m = Mono (no color).
/a = Allows removal of Hidden/System/ReadOnly files.
ERA will not remove these files without this option.
/? = For this usage summary.
filespec = Any filename or directory. Multiple
specifications can be used, long filenames that
contain spaces should be enclosed in quotes.
Wild card characters can be used in any specification.
The default is to display the files if wild card are used. ERA
then asks you if you want to delete the files. If you do not
use wild cards, ERA will delete the specified files without
any prompts.
System files can only be deleted by using both the /a and the
/v options.
All 8.3 names will be listed first, followed by long filenames.
EXAMPLES
________
To delete attr.doc and attr.exe from the current directory:
ERA attr.doc attr.exe
To delete all files with .obj and .map extension without
confirmation:
ERA *.obj *.map/q
_____________________________________________________________
FCOMP.EXE
_____________________________________________________________
FCOMP (Source File COMPare). This utility allows one to
compare all of the source files in one tree against those of
another tree.
FCOMP displays its output in a choice of two different formats.
This documentation describes the registered version of FCOMP.
The non-registered version does not support the /d, /f or /s
options.
Change History
______________
Version 6.0 24jun90 First release as Shareware.
Version 6.1 27jul90 Fixed the /f option. File 1 info after
the first 38 characters was not being
displayed.
Version 6.2 11sep90 Fixed "fcomp x: y:" bug.
Fixed "fcomp *.xyz *.x" bug.
Fixed protected mode wild card matching.
Version 6.3 09dec90 Fixed "fcomp abc.* efg.*" bug
Version 6.4 26dec90 Split into registered and non-registered
versions.
Version 6.5 22feb91 Added code to prevent hang when max line
exceeded.
Version 6.6 25feb91 Updated copyright. Fixed bug which
expanded printf formatting
incorrectly.
Version 6.7 03mar91 Fixed problem with redirection caused by
printf fix in rev 6.6.
Version 6.8 08apr91 Fixed which hung when files with more
than 5000 lines were read in.
Version 6.9 18jun91 Removed beep from non-registered version.
Version 7.0 29nov91 Fixed comp of files in hidden dirs.
Version 7.1 15feb91 Added /i option to ignore case of characters.
Added /b option to compress white space
to one space.
Syntax
______
FCOMP [/bdfimps] filespec1 filespec2
Where : /d = Display in "diff" format. Additions, deletions,
and changes to filespec1 to make filespec2 are shown.
/f = When displaying the changes in "column" format,
the first 38 columns of each line is displayed.
This option will cause the remaining characters
in each line to be displayed.
/b = Treat multiple white space as one space.
/i = Ignore case.
/m = Mono (no color).
/p = Pause when screen is full.
/s = Traverse all subdirectories below the ones
specified.
/? = Displays usage summary.
filespec1 is the source file or directory
filespec2 is the target file or directory
Wild card characters are accepted in the filespecs. Long file
names containing spaces should be enclosed in quotes.
EXAMPLE
_______
To compare the contents of one tree on drive c: against the
contents of your backup on drive d:, show results in column
format (the default):
FCOMP c:\source d:\target /s
To compare file 1.doc to 2.doc and show the results in "diff"
format:
FCOMP 1.doc 2.doc /d
_____________________________________________________________
FF.EXE
_____________________________________________________________
FF (File Finder). Searches disks for specified files.
Change History
______________
Version 6.0 06jun90 Added HPFS support.
Version 6.1 14aug90 was the first release as Shareware.
Modified display of data mismatch offset
from decimal to hexidecimal.
Version 6.2 08sep90 Corrected detection of short extensions
for the display color.
Added Pause (/p) switch.
Version 6.3 25feb91 Updated copyright.
Version 6.4 29nov91 Fixed scan into hidden directories.
Version 6.5 17feb92 Cleaned up video.
Syntax
______
FF [/acmp] [d:[\]]filespec
Where : /a = Starts search on floppy drive A:
/c = Starts search on hard disk C:, skipping A: and B:
/m = Mono (no color).
/p = Pause when screen is full.
/? = For this usage summary.
d: = Drive for search, if not specified, the current
drive will be used.
filespec = File(s) to search for. Only one
specification can be used, long filenames that
contain spaces should be enclosed in quotes.
Wild card characters can be used in the specification.
NOTE: If filename is in the DOS format (8.3) and extension is
not supplied, FF will search for all extensions.
EXAMPLES:
To find all files on the current drive that have a base name
of "myfile" use :
FF myfile
To find all occurances of format programs on any drive use:
FF format /a
To find all files ending with the .xyz extension on any of
your hard drives use:
FF /c *.xyz
_____________________________________________________________
FREE.EXE
_____________________________________________________________
FREE (Display Free space on disk).
Change History
______________
Version 6.0 06jun90 Added HPFS detection.
Version 6.1 15sep90 Added commas to bytes display.
First release as Shareware.
Version 6.2 20sep90 Corrected detection of machine mode.
Version 6.3 25feb91 Updated copyright. Added bytes allocated
to display.
Version 6.4 05mar91 Move blank line in output.
Version 6.5 17feb92 Continue after accessing not-ready-drive.
Syntax
______
FREE [d[:]] [...]
Where : d[:] is any valid logical drive letter.
The colon is not required.
OPERATION
_________
FREE uses system calls to get the amount of free space and
total space on the logical drive(s) requested. FREE also
determines (if it can) what file system the logical drive
has been formatted for (FAT or HPFS). FAT is the File
Allocation Table format used in DOS and OS/2 1.1. HPFS is
the OS/2 file system introduced in version 1.2.
EXAMPLES
________
To display the free space of the current disk:
FREE
To display the free space of drives C: and D:
FREE c d or FREE c: d:
_____________________________________________________________
JET.EXE
_____________________________________________________________
JET prints listings or text files on HP Laserjet printers.
Pages are printed on 8.5" by 11" paper at 160 lines per page.
Lines on the page can be up to 156 columns in length.
This documentation describes the registered version of COMP.
The non-registered version does not support the /s or /l
options. Nor does it display the mis-matches found.
Change History
______________
Version 2.0 20feb91 Started modifications for OS/2.
Version 2.1 25feb91 Fixed long line problem, modified for
registration.
Version 2.2 05mar91 Issue printer reset when done with printing.
Version 2.3 18jun91 Removed beep from non-registered version.
Syntax
______
JET [/sfl] filespec...filespec
where /s = Affects all files below the specified (or implied)
directories.
/f = Suppress the printing of Form Feeds.
/l = Places line numbers to the left of each line.
NOTE: If you are using the Microsoft Macro Assembler to produce
listings, set the page directive to the following:
PAGE 159,132
This is due to the fact that MASM always gives you one
more line than you ask for.
NOTE: If the first character of the file is a Form Feed, it is
always ignored (not printed).
EXAMPLES
________
To print all assembler listings in your current directory:
JET *.lst
To print all "C" files with line numbers:
JET *.c /l
To print a lst file in one continuous listing without page
breaks:
JET file.lst /f
_____________________________________________________________
LS.EXE
_____________________________________________________________
LS (LiSt Directories). Displays a sorted directory listing.
Change History
______________
Version 6.0 24jun90 was the first release as Shareware.
Version 6.1 25jun90 added the /1 option.
Version 6.2 13jul90 fixes the /d /e and /f options what were broken
when I added long filename support. I didn't
notice the bug until someone pointed it out to me,
I never use those options myself.
Put colors used to display filenames in an array
so that experienced users may change the
colors to their favorite.
Version 6.3 09dec90 Fixed display of short names that had an
extension longer than 3 characters or had
multiple dots.
Version 6.4 26feb91 Updated copyright. Now uses colors to
distinguish long file names.
Version 6.5 29nov91 Now displays files in hidden directories.
Version 6.4 26feb91 Cleaned up video, changed name to LS.
Syntax
______
LS [/defhmnpsw1] [filespec ...]
Where : /d = Sort by date/time.
/e = Sort by extension.
/f = Sort by filesize.
/h = Show hidden and system files along with normal files.
/m = Mono (no color).
/n = No date/time/filesize (long filename display only).
/p = Pause when screen is full.
/s = Traverse all subdirectories below the ones
specified.
/w = Display 8.3 filenames in wide format (up to 5
per line).
/1 = Display directory entries one per line.
/? = For this usage summary.
filespec = Any filename or directory. Multiple
specifications can be used, long filenames that
contain spaces should be enclosed in quotes.
Wild card characters can be used in any specification.
The last sort option (/def) specified will be used.
All files listed will be preceeded by an attribute indictor and
a directory indicator.
R=ReadOnly H=Hidden S=System <space>=Normal
If the entry is a directory, it will be preceeded by "\".
All 8.3 names will be listed first, followed by 8.3 directory
names, long file name files, and finally long file name
directories.
EXAMPLES
________
To display the files in the current directory and all files in
its subdirectories sorted by date, pausing when screen is full:
LS /spd
To display the files on drive A: in order of filesize.
LS a:\/f
To display all files in the root directory in wide format:
LS /wh c:\
To display all .com files in the bin directories of
drives c: and a:
LS c:\bin\*.com a:\bin\*.com
Many users prefer to use a command line editor and equate a
synonym to ls. I use the synonym "d" for "ls /hp ".
_____________________________________________________________
LWHAT.EXE
_____________________________________________________________
LWHAT (Displays WHAT string found in executables and
calculates any files checksum value).
Change History
______________
Version 1.0 05jun91 Original version.
Syntax
______
LWHAT [/scn] filespec...filespec
Where : /s = Affects all files below the specified (or implied)
directories.
/c = Print checksum calculated for each file.
/n = Do not display filename.
OPERATION
_________
LWHAT scans each file for a valid WHAT string beginning with
either @[#] or @(#). WHAT strings are used to view the
version of the software and its use. The checksum option can
be used to validate the copy of a file matches the original.
When scanning for the WHAT string, LWHAT searches first for a
WHAT string beginning with @[#], then, if necessary for one
beginning with @(#).
EXAMPLES
________
To display the WHAT string of all files in the c:\PLJV
directory:
LWHAT c:\pljv\*
To display the WHAT string of all files containing them and
the checksum of all files on drive C: use
LWHAT c:\* /sc
_____________________________________________________________
PERF.EXE
_____________________________________________________________
PERF is a tool to measure the relative performance of your
various hard disk drives under OS/2 and DOS.
Change History
______________
Version 1.0 08jun90 Original version.
Version 1.1 18feb92 Cleaned up for public release.
Syntax
______
There are two forms used for the command line.
The first format is used to measure the DTR (Disk Transfer
Rate). This measurement is only done in protected mode.
PERF d[:] [...]
Where : d is the drive number to be measured.
d must be a number between 1 and n where n is the
total number of hard drives on your system.
The second format is used to measure file system performance.
PERF builds a 400kb file in the root directory of the drive
to be tested, tests the drive, and then deletes the test
file.
PERF [#] d[:] [...]
Where # is the record size for the test. Default is 2048 byte
records. The value must be in bytes. This option
affects any drives specified AFTER it.
d is the logical drive to be tested. The colon is
optional.
OPERATION
_________
PERF performs disk performance measurements on the physical
or logical drive specified. These measurements can be used
to compare the performance of various drive configurations.
You can also see what affect your disk caches have on
performance and can use PERF to fine tune the diskcache size
you use.
The physical DTR test simply read physical sectors for a
period of time and reports its results.
The file system tests perform sequential write and read as
well as random write and read tests. These tests will be
directly affected by the presence and size of a disk cache.
EXAMPLES
________
To get the DTR of your first two disk drives:
PERF 1 2
To determine file system performance on logical drives c: and
d: using 2048 byte and 512 byte records:
PERF c d 512 c d
_____________________________________________________________
RFD.EXE
_____________________________________________________________
RFD (Remove Files & Directories). A safe and fast way to
remove entire trees of files and directories.
Change History
______________
Version 6.0 06jun90 Added HPFS long filename support
Version 6.1 15aug90 First release as Shareware.
Modified colors to use a color table.
Version 6.2 08sep90 Corrected detection of short extensions
for the display color.
Version 6.3 16sep90 Removed real-mode message when no files
were in directory being removed.
Version 6.4 03oct90 Added code to not delete "ea data. sf"
Version 6.5 14dec90 Fixed "rfd a:\" under DOS.
Version 6.6 26feb91 Updated copyright notice. Add
registration notice.
Version 6.7 18jun91 Removed beep from non-registered version.
Version 6.8 29nov91 Fixed removal of dirs within hidden dirs.
Version 6.9 17feb92 cleaned up video.
Syntax
______
RFD [/pqma] path [path ...]
Where : /p = Preview mode. This mode allows you to review
what would be deleted (removed) without actually
deleting the files.
/q = Quick mode. Directories are removed, nothing is
displayed on the screen. No prompts are used.
/m = Mono (no color). All messages will be plain white.
/a = Allows removal of Hidden/System/ReadOnly files.
RFD will not remove these files without this option.
/? = For this usage summary.
path = Any directory. Multiple specifications can be
used, long filenames that contain spaces should be
enclosed in quotes. Wild card characters can be
used in any specification.
The default is to display the files in each directory and
then RFD asks you if you want to delete the directory.
All files listed will be preceeded by an attribute indictor and
a directory indicator.
R=ReadOnly H=Hidden S=System <space>=Normal
If the entry is a directory, it will be preceeded by "\".
All 8.3 names will be listed first, followed by long filenames.
EXAMPLES:
To remove the contents of all files and directories from floppy
disk A: (i.e. clean it up)
RFD a:\/qa
To remove the directories \TMP and \BACKUP with verification
from drive C:
RFD c:\tmp c:\backup
_____________________________________________________________
SWEEP.EXE
_____________________________________________________________
SWEEP (Runs an application in the current directory and all
of its sub-directories).
Change History
______________
Version 6.0 06jun90 Added HPFS detection.
First release as Shareware.
Version 6.1 26feb91 Updated copyright.
Version 6.2 04mar91 Fixed help message.
Version 6.3 29nov91 Fixed sweep into hidden dirs.
Syntax
______
SWEEP application-and-its-options
SWEEP is used to execute a program (such as a grep
utility) against many files in many directories. Most
application programs can not traverse through
sub-directores. This SWEEP utility will do the traversing
for the program executing the program after changing to
each sub-directory.
To use SWEEP, you must first change to the directory in which
you want to start the sweep from.
_____________________________________________________________
TAB.EXE
_____________________________________________________________
TAB (Removes or adds tab characters to source files).
This documentation describes the registered version of COMP.
The non-registered version does not support the /s or /q
options.
Change History
______________
Version 6.0 06jun90 Added HPFS support.
Version 6.1 15sep90 Added check to prevent translation on
files with the following extensions:
.exe .obj .lib .com .bin .sys .dll .res
Version 6.2 26feb91 Made /s/e options valid on registered
veraion. Updated copyright.
Version 6.3 06jun91 Increased line buffers to 512 bytes to allow
for expansion of long lines.
Version 6.4 18jun91 Removed beep from non-registered version.
Syntax
______
TAB [-+#] [/sq] filespec...filespec
Where : /s = Affects all files below the specified (or implied)
directories.
/q = Quite mode. TAB will not display filenames as the
conversion takes place.
-# = Compression of up to # spaces per tab.
+# = Expansion of a tab to up to # spaces.
The last -# or +# specified is used. Default is +8.
OPERATION
_________
TAB reads each specified file and processes the file a line
at a time. Each processed line is written out to a temporary
file that has the same base name but with an extension of
".@@@". TAB converts only tab characters that are found
outside of quoted strings. Be careful not to use TAB on
non-text files, it will permanently alter the file.
EXAMPLES
________
To remove the tabs from all "C" source files in the current
directory:
TAB *.c *.h
To put the tabs back into the "C" source files:
TAB /v -8 *.c *.h
_____________________________________________________________
TOUCH.EXE
_____________________________________________________________
TOUCH (File Date/Time Stamper). Sets the files creation
date and time.
This documentation describes the registered version of COMP.
The non-registered version does not support the /s option.
Change History
______________
Version 6.0 06jun90 Added HPFS support.
Version 6.1 11sep90 Added address to help message.
Version 6.2 27feb91 Modified for registration, copyright
notice updated.
Version 6.3 18jun91 Removed beep from non-registered version.
Version 6.4 18feb92 Removed restricted status.
Syntax
______
TOUCH [/sv] [/tHHMM] [/dMMDD[YY]] filespec...filespec
Where : /s = Traverse all subdirectories below the ones
specified.
/v = Displays each file as it is touched.
/? = For this usage summary.
/tHHMM = Set the touch time to HHMM.
Where HH is the hour (00 to 23).
MM is the minute (00 to 59).
/dMMDD[YY] = Set the touch date to MMDD[YY].
Where MM is the month (01 to 12).
DD is the day of month (01 to 31).
YY is the last two digits of the year.
filespec = Any filename or directory. Multiple
specification can be used, long filenames that
contain spaces should be enclosed in quotes.
Wild card characters can be used in the specification.
OPERATION
_________
The file(s) creation date will be set to the value specified.
The Year will default to the current year if not given.
The Date will default to the current date if not given.
The Time will default to the current time if not given.
EXAMPLES
________
To touch all files in the current working directory with
today's date and a time of 0000 while displaying each filename
as it is being touched:
TOUCH *.* /vt0000
To touch all files on drive A: including all files in all
subdirectories to Jan 01, 1989 at 12pm:
TOUCH a:\*.* /st1200d010189
The following line is will do the same touch:
TOUCH /s a:\*.* /t1200 /d010189
_____________________________________________________________
TREE.EXE
_____________________________________________________________
TREE (Directory Tree lister). Allows one to visualize
the tree structure of a disk.
Change History
______________
Version 6.0 15sep90 Added HPFS support.
Added Pause and Mono switches.
First release as Shareware.
Version 6.1 20sep90 Fixed "out of memory" problem in DOS.
Version 6.2 27feb91 Updated copyright, added commas to number
output.
Version 6.3 29nov91 Fixed display of hidden directories.
Syntax
______
TREE [/smp] [path...path]
Where : /s = Show total size of all files in each directory
encountered.
/m = Mono (no color). All messages will be plain white.
/p = Pause when screen is full.
/? = For this usage summary.
path = Any directory. Multiple specifications can be
used, long filenames that contain spaces should be
enclosed in quotes. No wild cards allowed.
OPERATION
_________
TREE uses the IBM graphic characters to display the directory
structure of the path specified. If no path is specified,
TREE start with the current directory. If displaying in
color, each level of the tree will be shown in a different
color.
EXAMPLES
________
To display the entire tree of drive c: with sizes of
all files in its subdirectories:
TREE c:\ /s
To display the tree starting from the current directory:
TREE
To display the same tree on different disks with sizes:
TREE c:\myfiles d:\myfiles /s
_____________________________________________________________
UPDATE.EXE
_____________________________________________________________
UPDATE : This utility came into being as a way to easily
backup the changes made to a group of files. Instead of
comparing all files and copying those which are different
one-by-one or blindly copying all files, this utility uses
the same code as my COMP utility to see if the two files are
different. If so, the dates are compared, and a prompt is
given to the user (unless quite mode is set). You then have
the option of copying the file to the backup or going to the
next file. In quiet mode, this program will never copy an
older file over a newer one. I found the REPLACE command too
restrictive and lacking in this needed feature.
This documentation describes the registered version of UPDATE.
The non-registered version does not support the /q or /s
options.
This program comes only in the protected mode version, there
is no bound version.
Change History
______________
Version 1.0 29nov91 new program.
Version 1.1 17feb91 Cleaned up video.
Syntax
______
UPDATE [/mqs] filespec1 filespec2
Where : /m = Mono (no color).
/? = Displays usage summary.
/q = Quick update, no prompts.
/s = Traverse all subdirectories below the ones
specified.
filespec1 is the source file or directory
filespec2 is the target file or directory
Wild card characters are accepted in the filespecs. Long file
names containing spaces should be enclosed in quotes.
EXAMPLES
________
To check the contents of one tree on drive c: against the
contents of your backup on drive d:
UPDATE c:\source d:\target /s
The same operation as above but without any prompts:
UPDATE /sq c:\source d:\target
ERRORLEVEL
__________
Since UPDATE sets the errorlevel on return to the command
prompt, it can be used in batch files. The Errorlevel will
be set to a value between 0 and 7 as follows:
No errors found returns 0.
Any target files not found will OR in a 1.
Any file size mis-matches wll OR in a 2.
Any file data mis-compares will OR in a 4.
Thus if any target files are not found and if there is a data
mis-compare, the errorlevel will be set to 4 OR'd with 1 = 5.
_____________________________________________________________
VCD.EXE
_____________________________________________________________
VCD (Ventimiglia Change Directory) is an enhanced change directory
utility featuring a full screen mode and a command line
pop-up window for similar name directory changes.
This documentation describes the registered version of VCD.
The non-registered version does not support the full screen
mode of operation.
Change History
______________
Version 6.0 15jun90 was the first release as Shareware.
Version 6.1 21jun90 fixed bug which corrupted the root
directory entry of the vcd data file
during a fullscreen rescan.
Version 6.2 14aug90 fixes problem of running c.cmd while in the
%TMP% directory while in protected mode.
Version 6.3 11nov90 Fixed bug which cacused program to display
garbage on screen when entire map was <=
current number of lines per screen.
Version 6.4 09dec90 Modified to work with shell programs that
cannot handle the OS/2 "&" operator.
Version 6.5 26feb91 Modified for registration, copyright
updated.
Version 6.6 08apr91 Directory names are now sorted.
Version 6.7 05jun91 Name changed to prevent confusion between
my directory change program and
Ledbetters DOS program.
Version 6.8 18jun91 Removed beep from non-registered version.
Version 6.8 29nov91 Adjusted display of selection box.
Now scans hidden directories.
Syntax
______
DOS or DOSbox of OS/2:
VCD [/rn] [d:][path]
OS/2 protected mode:
C [/rn] [d:][path]
Where : /r = Causes a complete rescan of the specified drive.
/n = Do not write the VCD data file.
d: = Drive to scan.
path = partial path to change to. Only the portion
after the last \ is used.
An invalid option will display the usage.
/ options can be combined or be specified separately before or
after any of the filespecs.
/rn == /n/r == /r /n
******************************************************************
* *
* Note: Protected mode usage must use the command file C.CMD, *
* using the executable in protected mode without the *
* command file will look like it is changing to the *
* directory but will not due to OS/2 restoring the *
* environment when the program is finished running. *
* *
* In case someone tampers with this zip file and deletes *
* the c.cmd file from it, the cmd file should look *
* as follows: *
* *
* @echo off *
* if "%TMP%" == "" (md c:\tmp & set tmp=c:\tmp) *
* vcd %1 %2 > %TMP%\vcdx.cmd *
* if errorlevel 1 goto end *
* call %TMP%\vcdx.cmd *
* :end *
* del %TMP%\vcdx.cmd *
* *
* *
******************************************************************
Operation
_________
VCD will rescan the specified or implied disk in the
following instances:
- The VCD database does not exist or
- The /r (Rescan) option is specified or
- The current directory of the specified disk is not
in the VCD database.
VCD will not save the database when used on drives A: or B:
or if the /n (nosave) option is used.
The database file is written to the root directory of the
specified or implied drive using the name "VCD_data". If the
drive is write protected (as some network drives are), VCD
will attempt to save the database on drive C: using the name
"VCD_x.dat" where x is the drive letter.
VCD is designed to keep the database for each drive on the
root directory of that drive. Scanning never crosses drives.
I chose to do this to support removable hard drives, such as
the Tandon Personal DataPacs. If I were to scan all drives
and keep the database on drive c: (as someone's DOS imitation
does), it would not find a directory on a drive that has been
ejected and replaced by another. Keeping the database on each
drive also allows for faster searches for the desired directory.
If [path] is specified on the command line, VCD will do the
following:
- VCD scans the entire tree for a match to [path].
- If there is only one match,
then VCD will change to that directory.
- If there are no matches,
then VCD will remain in the current directory.
- If there are multiple matches, VCD will first check
for one exact match. If there is one exact match,
VCD change to that directory. Otherwise, VCD will
popup a box containing the choices. Move the
highlight to the one you want to reach and press
<enter> to select it, VCD will change to that
directory.
Command line EXAMPLES: (Protected mode: Use C instead of VCD)
To change to your INCLUDE directory on the current drive and
rebuild the VCD data file:
VCD include /r or VCD /r include
To change to the \bin directory on drive c:
VCD c:bin
If the [path] option is not specified, VCD will start up in
full screen mode.
VCD will display a graphical tree display of the directory
structure.
Once the display is up, you can use the following keys to move
around the display:
<up> or <left> - moves highlight up or scrolls screen down
<down> or <right> - moves highlight down or scrolls screen up
<pgup> - - - - - - moves the screen up one page
<pgdn> - - - - - - moves the screen down one page
<home> - - - - - - moves to the root directory "\"
<end> - - - - - - - moves to the end of the display
<enter> - - - - - - ends the program and goes to the
highlighted directory.
<ALPHA-NUMERIC> - - Speed searches for directory match.
<esc> - - - - - - - ends the program without changing
directories.
<ctrl><enter> - - - Speed search for next directory match.
<F2> - - - - - - - ReScan the current drive.
<F3> - - - - - - - Change to a different drive.
_____________________________________________________________
END OF FILE
_____________________________________________________________