home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-02-28 | 49.2 KB | 1,427 lines |
-
- LJV Tool Kit for OS/2 Release 1
- February 27, 1991
-
- Copyright 1989-1991 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 systems. I have put several of
- these onto bulletin boards to test the shareware concept. I
- have asked for a meager amount from my users to support my
- development and I am aware that there are many users of my
- tools out there with only about 1% willing to support my
- efforts.
-
- 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 still
- meager sum.
-
-
-
- Contents
- ________
-
- The following programs are included in this release of the
- LJV Tool Kit.
-
-
- Program Rev. Comments
- ------------ ---- ---------------------------------------------
- LJV.DOC This document file.
- ATTR.EXE 6.1 File attribute changer. 5
- BGREP.EXE 6.4 Binary Grep 10
- COMP.EXE 6.8 Binary File Compare 10
- ERA.EXE 6.4 File erase. 5
- FCOMP.EXE 6.6 Source File Compare 10
- FF.EXE 6.3 File Find
- FREE.EXE 6.3 Disk free space
- JET.EXE 2.1 HP LaserJet print program 5
- LCD.EXE 6.5 Les's Change Directory 15
- LSD.EXE 6.4 List Directory/Files
- RFD.EXE 6.6 Remove Files/Directories 5
- SWEEP.EXE 6.1 Execution Sweeper
- TAB.EXE 6.2 Tab remover/inserter. 5
- TOUCH.EXE 6.2 File Date/Time toucher. 5
- TREE.EXE 6.2 Directory tree displayer.
- C.CMD Batch file for use with LCD.
-
- Features
- ________
-
- - simple command line interface.
- - color (most programs)
- - HPFS long filename support.
- - added functionallity over OS versions of similar programs.
-
-
-
- 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
- LSD.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, see the
- help info for each program for the registration fees.
-
- Group discounts should be negotiated.
-
- OS/2 Protected mode tool kit .....................$40.00
- Bound version tool kit............................$40.00
-
- _____________________________________________________________
-
-
- 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.
-
-
- 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, long file name files, and finally 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.
-
- 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.
-
-
- Syntax
- ______
-
-
- COMP [/ems] filespec1 filespec2
-
- Where : /m = Mono (no color).
- /? = Displays usage summary.
-
- /e = Display errors only.
- /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.
-
- 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.
-
-
- 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.
-
- Syntax
- ______
-
-
- FCOMP [/dfms] 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.
-
- /m = Mono (no color).
- /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.
-
-
- Syntax
- ______
-
-
- FF [/a] [/c] [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.
-
-
- 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.
-
-
- 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
-
- _____________________________________________________________
-
-
- LCD.EXE
-
- _____________________________________________________________
-
-
- LCD (Les's 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 LCD.
- 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 lcd 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.
-
-
- Syntax
- ______
-
-
- DOS or DOSbox of OS/2:
-
- LCD [/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 LCD 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) *
- * lcd %1 %2 > %TMP%\lcdx.cmd *
- * if errorlevel 1 goto end *
- * call %TMP%\lcdx.cmd *
- * :end *
- * del %TMP%\lcdx.cmd *
- * *
- * *
- ******************************************************************
-
- Operation
- _________
-
-
- LCD will rescan the specified or implied disk in the
- following instances:
-
- - The LCD database does not exist or
- - The /r (Rescan) option is specified or
- - The current directory of the specified disk is not
- in the LCD database.
-
- LCD 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 "LCD_data". If the
- drive is write protected (as some network drives are), LCD
- will attempt to save the database on drive C: using the name
- "LCD_x.dat" where x is the drive letter.
-
-
- If [path] is specified on the command line, LCD will do the
- following:
-
- - LCD scans the entire tree for a match to [path].
- - If there is only one match,
- then LCD will change to that directory.
- - If there are no matches,
- then LCD will remain in the current directory.
- - If there are multiple matches, LCD will first check
- for one exact match. If there is one exact match,
- LCD change to that directory. Otherwise, LCD will
- popup a box containing the choices. Move the
- highlight to the one you want to reach and press
- <enter> to select it, LCD will change to that
- directory.
-
-
- Command line EXAMPLES: (Protected mode: Use C instead of LCD)
-
- To change to your INCLUDE directory on the current drive and
- rebuild the LCD data file:
-
- LCD include /r or LCD /r include
-
- To change to the \bin directory on drive c:
-
- LCD c:bin
-
-
- If the [path] option is not specified, LCD will start up in
- full screen mode.
-
- LCD 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.
-
-
- _____________________________________________________________
-
-
- LSD.EXE
-
- _____________________________________________________________
-
-
- LSD (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.
-
-
- Syntax
- ______
-
-
- LSD [/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:
-
- LSD /spd
-
- To display the files on drive A: in order of filesize.
-
- LSD a:\/f
-
- To display all files in the root directory in wide format:
-
- LSD /wh c:\
-
- To display all .com files in the bin directories of
- drives c: and a:
-
- LSD c:\bin\*.com a:\bin\*.com
-
- Many users prefer to use a command line editor and equate a
- synonym to lsd. I use the synonym "d" for "lsd /hp ".
-
- _____________________________________________________________
-
-
- 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.
-
- 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.
-
-
- 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.
-
-
- 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.
-
-
- 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.
-
-
- 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
-
-
- _____________________________________________________________
-
-
- END OF FILE
-
- _____________________________________________________________
-
-