Dec 072017
TurboBat 2.20 allows you to compile regular DOS batch files into COM programs.
File TURBOBAT.ZIP from The Programmer’s Corner in
Category Batch Files
TurboBat 2.20 allows you to compile regular DOS batch files into COM programs.
File Name File Size Zip Size Zip Type
EXTRADOS.DOC 100856 31390 deflated
ORDERFRM.TXT 2323 926 deflated
TURBOBAT.COM 5904 5603 deflated
TURBOBAT.DOC 1598 792 deflated

Download File TURBOBAT.ZIP Here

Contents of the EXTRADOS.DOC file

ExtraDOS Toolbox Professional (tm)

Version 3.43

by Foley Hi-Tech Systems
172 Amber Drive
San Francisco, CA 94131
(415) 826-6084
(415) 826-1707 BBS
(415) 826-1706 FAX

Copyright (c) 1985-91 by Foley Hi-Tech Systems


ExtraDOS is a compilation of tools useful to Microsoft DOS users. I originally wrote these
tools under MS-DOS because I found a need for them and there were no commercially
available products which provided these functions. Some ExtraDOS tools were designed
to enhance programs already found in MS-DOS. Other tools were familiar to the Unix
world, but were not available in MS-DOS. In addition, ExtraDOS compliments PC-Tools
and Norton Utilities with added tools these programs do not provide.

The ExtraDOS utilities are Copyright (c) 1985-91 by Foley Hi-Tech Systems. These
programs are not public domain, but are "shareware." They are made available and if
you find they are of some useful value in your normal computer needs, then please
register them. Registration is required if you keep and use any or all of the utilities. To
receive technical support you will have to register. When you register, you will get you
a complete set of the current ExtraDOS utilities and a printed manual. Registered users
are also given access to the product updates on our BBS system. You will be able to get
updates for any programs for free from the BBS system for one year after registration.
You will also be added to our mailing list to receive newsletters, price lists and product

To register print out the file ORDERFRM.TXT and fill in the information and send it via
FAX or MAIL to:

Foley Hi-Tech Systems
ExtraDOS Registration
172 Amber Drive
San Francisco, CA 94131
(415) 826-6084
(415) 826-1706 FAX
(415) 826-1707 BBS
COMPUSERVE 70262,1463

If you find a bug in any of the programs please contact me at the above address, phone
or BBS. Registered owners reporting a bug will be given a renewed gratis update period,
unregistered users reporting an unknown bug will be given a gratis registration.

Suggestions for updates, changes or improvements are also welcome at the above

David R. Foley

Subject Page

Introduction............................................... 2
Index...................................................... 3

ADDCOMM - Serial Port Management Program.............. 5
ALARMCLK - Alarm Clock Program......................... 6
- SETALARM.................................... 6
ALLSUB - Perform Task In All Subdirectories.......... 7
AREA - Telephone Area Code Search Utility.......... 8
BANNER - DOS Banner Display..........................13
BOOT - PC Rebooting Utility........................14
BOOTLOCK - Lock Out Reboot Keys and Break Keys.........15
BOOTPAST - Boot Past a Floppy to the Hard Disk.........16
BRKBOX - COM Port Break Out Box Display..............17
CAL - DOS Calendar Display........................18
CAT - DOS Cat Text File Utility...................19
CHIMES - DOS Clock Chimes............................20
CLEAN - Floppy Drive Cleaning Program...............22
CLEANUP - Cleanup Your Drives from Duplicate Files....23
CURLOCK - Lock Cursor Shape Permanently...............28
CURSOR - Change Cursor Shapes........................29
CUT - DOS Cut Text File Utility...................30
DELAY - Batch File Delay Utility....................31
DETAB - File Detabulation Utility...................32
DISKINFO - Disk Drive Information Reporter.............33
EDIT - Full Screen Editor..........................34
- CONFIG.EXE, EDIT.HLP, EDIT.HDX..............34
EVAL - DOS Command Line Calculator.................35
FILEATTR - Change File Attributes......................39
FILEINFO - File Information Program....................43
FILESIZE - File Size Listing Utility...................44
FILETREE - File Directory Tree Listing Utility.........45
FINDFILE - Find File on Disk...........................46
HELP - DOS Command HELP............................47
HEXDUMP - File Hex Display Utility....................48
HUSH - Speaker Silencing Utility...................49
KILLDIR - Remove Directory and All Contents...........50
LASER - Control HP Laser Jet from DOS...............51
LS - DOS Listing Utility.........................53
MOVE - MOVE Files Across Disks.....................54
NAMEDIR - Name Directory Utility......................56
PATHFIND - Path Find File Utility......................57
PSPRINT - PostScript Text File Print Utility..........58
SCNATTR - Set Screen Attributes.......................59
SPEEDRAM - Speed up CPU by Reducing Refresh............60

TEXTSRCH - Text Searching Utility......................64
TOUCH - Touch File Date Utility.....................65
TURBOBAT - Turbo Batch File Compiler...................66
USEMOUSE - Use Mouse to Emulate Keystrokes.............67
VOLLABEL - Disk Volume Label Update Utility............69

LONG & SHORT, file naming conventions......................70
Terms of License Agreement.................................71
Limited Warranty...........................................71
Technical Support..........................................71
Revision Notes.............................................72
Credits & Inspiration......................................75
New Utilities Under Development............................76
Other FHTS Products........................................78
Coming Soon................................................79

ADDCOMM - Add Communications Port Information


Addcomm lets you define the actual address of your communications ports in your PC
and update older BIOS machine to support COM3 and COM4. ADDCOMM is a utility
that allows you to define the address of your COM ports in the DOS lower memory
segment. This is useful for machines whose BIOS doesn't support COM3 and COM4
ports by default. In many older machines including early 80386 based systems, the
BIOS would only setup COM1 and COM2 for DOS. Newer serial cards and modems
allow you to define COM3 and COM4 on the cards but these machines won't allow DOS
to see these additional ports unless you place the corresponding address in low DOS
memory. ADDCOMM will place this information in the correct location for you.
ADDCOMM will also display the current address values for any COM ports that are
installed in your system. By placing the ADDCOMM statements in your
AUTOEXEC.BAT file you can have the machine load the correct values without having
to intervene. ADDCOMM is not a TSR and will not require any overhead memory to
setup your ports from AUTOEXEC or the DOS prompt.


1.11 03/09/91

Command Format

ADDCOMM [port] [address]

PORT is the COM port to add

ADDRESS is the address of the COM port


ADDCOMM COM3 3E8 will tell DOS to address COM3 at address 3E8.
ALARMCLK - DOS Alarm Clock


Alarmclk allows you to setup multiple alarm timers in your PC that will beep and remind
you of appointments or meetings. ALARMCLK is a simple alarm clock for MS-DOS
machines. It allows you to set a time for your system to beep at you to remind you of
appointments or meetings. ALARMCLK is currently split into two programs. ALARMCLK
is the alarm clock TSR that loads into memory and keeps track of the alarms that you
specify. Once ALARMCLK is loaded use SETALARM to set as many alarms as you


2.00 05/04/91

Command Format

ALARMCLK [/D] [/U] [/Inn]

SETALARM [time] [PM] [/D] [/U] [/Inn]

TIME Time in HH:mm format 12 hour or 24 hour clocks are both accepted for the
time format.
PM ALARMCLK will assume AM with 12 hour format unless PM is defined.
/D Deactivates all alarms
/U Removes ALARMCLK.COM from memory
/Inn Specify a new ID number

ALLSUB - Perform a Task in All Subdirectories


Allsub allows you to run a task, that would normally only take effect in the current
directory, in the current directory and all subdirectories of the current directory. ALLSUB
is a utility that will allow any command or program to be run on the current directory as
well as all subdirectories of the current directory. This is useful for deleting groups of
files or performing tasks with programs that don't normally allow for subdirectories. As
the command is performed in each subdirectory ALLSUB will display the directory of


1.02 03/12/90

Command Format

ALLSUB [command]

[command] is any valid DOS command or program.

AREA - Area Code Search Program


Allsub allows you to run a task, that would normally only take effect in the current
directory, in the current directory and all subdirectories of the current directory. AREA
is a utility that will help you locate a region to which an area code applies or to locate
the area code for a specific region. Since the phone company constantly updates
regions and expands with more area codes, the data may become incorrect. If you
know of a new area code, or one that has been changed we would like to know of this
change so that we may keep the AREA utility current. Please contact us either by BBS,


2.13 01/13/91

Command Format

AREA [code] [string] [options]

[code] is any 3 number area code.

[string] is any string that might match a state or region that you are searching for.


/L - Load as a TSR. This will make the AREA code program a pop TSR that will
allow you to call up and area code or location while running another application
without exiting to DOS. [CTRL][LSHIFT]A is the hotkey to activate the program
once installed as a TSR.

/U - Will uninstall the AREA code program if it is installed as a TSR freeing up the
overhead that it required. Uninstall will only work if AREA was the last TSR
loaded on the Heap. If the program is unable to uninstall it will inform you when
running the /U parameter.

AREA - Area Code Search Program

/NOH - If running AREA from a batch file or from another shell program you might
sometimes wish to have it not display the header information. /NOH tells AREA
to not display the header.

/K$nnnn Allows you to set the default key for the TSR pop up command. You can
alternatively set the hotkey by using the environment variable AREAKEY. We
suggest not using this option unless you are familiar with your systems currently
defined hotkeys. By changing the hotkey value you may cause conflict with
another TSR in your system. Below is a chart that will show you the value to use
for either the /K parameter or the environment variable /K

Example: AREA /K$0836 /L

would specify [ALT][RSHFT] as a new hotkey.

Example of Environment Variable for hotkey definition:


As a line in the AUTOEXEC.BAT file would set the [ALT][RSHFT] as the hotkey.

AREA - Area Code Search Program

Keyboard Scan Codes for Hotkey Use

Hotkey = $XXYY where: XX = hex code for the ALT, CTRL, Lshft, and/or Rshft
YY = One of the hex codes from the scancode tables below.

Computing the XX value:

ALT = $0800
CTRL = $0400
LSHFT = $0200
RSHFT = $0100

so, [ALT][LSHFT] = $0800 + $0200 = $0A00 + YY = $0AYY

or, [CTRL][RSHFT] = $0400 + $0100 = $0500 + YY = $05YY

or, [ALT][CTRL][RSHFT] = $0800 + $0400 + $0100 = $0D + YY = $0DYY

Note: If XX = $0000 then this is a single key hotkey which will be defined by the YY

Computing the YY value:

To use previous examples,

[ALT][LSHFT][G] = $0A00 + 22 (G = hex 22) = $0A22
[CTRL][RSHFT][F10] = $0500 + 44 (F10 = hex 44) = $0544

You can also use something like [ALT][LSHFT] only. To do this, you would use

$0800 + 2A = $082A


NOTE: The XX portion of the hotkey may not use anything "lower" than CTRL for the
following keys: Esc, BkSp, Space, CapsLock, Tab, ENTER, PrtSc, Ins, Del, and Num
Lock. This means you can't use LSHFT-Tab, or RSHFT-Tab, but you can use CTRL-Tab
or ALT-Tab.

AREA - Area Code Search Program

Key Code Key Code Key Code
--- ---- --- ---- --- ----
A 1E [F1] 3B [ESC] 01
B 30 [F2] 3C [BKSP] 0E
C 2E [F3] 3D [ENTER] 1C
D 20 [F4] 3E [RSHFT] 36
E 12 [F5] 3F [LSHFT] 2A
F 21 [F6] 40 [CTRL] 1D
G 22 [F7] 41 [ALT] 38
H 23 [F8] 42 [SPACE] 39
I 17 [F9] 43 [PRTSC] 37
J 24 [F10] 44 [CAPSLK] 3A
K 25 [UPARR] 48
L 26 [DNARR] 50
M 32 { [ 1A [PGUP] 49
N 31 } ] 1B [PGDN] 51
O 18 | \ 2B [LFARR] 4B
P 19 ? / 35 [RTARR] 4D
Q 10 " ' 28 [DEL] 53
R 13 ` ~ 29 [INS] 52
S 1F < , 33 [HOME] 47
T 14 > . 34 [END] 4F
U 16 ! 1 02 [NUMLCK] 45
V 2F @ 2 03 [SCRLCK] 46
W 11 # 3 04 [TAB] 0F
X 2D $ 4 05 NUMPAD - 4A
Y 15 % 5 06 NUMPAD + 4E
Z 2C ^ 6 07 NUMPAD 5 4C
& 7 08
* 8 09
( 9 0A
) 0 0B
_ - 0C
+ = 0D
: ; 27

AREA - Area Code Search Program

Note that you can use the ALT, CTRL, L/RSHFT keys by themselves. For example the
following hotkeys/codes are valid:


BANNER - Generate a Large Type Banner on Printer


BANNER allows you to create a large banner using a standard ASCII printer. BANNER
contains an internal representation of the alphabet that is made up of standard ASCII
characters and will print any message on your printer in a sideways banner fashion.
Banner Displays an ASCII rendition of the letters you put in a message rotated at 90
degrees. This is based on the BANNER that is available in many UNIX systems.


1.21 04/24/91

Command Format

BANNER [options] [message]


/? Displays Help
/w Set to 132 Column Width
/wnn Set to nn Column Width
/p Send output to LPT1 *default setting
/pLPTn Send output to LPTn
/s Send output to Screen
/o[fname] Send output to file [fname]
/noh suppress the header information

BOOT - Reboot PC from within a batch file or DOS


BOOT is a utility which can be called from the DOS command line or from a batch file.
This program will reboot your PC either emulating a soft boot [CTRL][ALT][DEL] or a
hard boot such as pressing the reset key.


1.50 09/05/90

Command Format



COLD Perform a Cold Reboot of the System (same as Hard)
HARD Perform a Hard Reboot of the System (same as Cold)
WARM Perform a Warm Reboot of the System (same as Soft)
SOFT Perform a Soft Reboot of the System (same as Warm)


The next release of BOOT will include the option to specify the time delay before

BOOTLOCK - Lockout various key functions from being used


BOOTLOCK is a simple utility that will lock out the use of the [CTRL][ALT][DEL] soft
boot sequence and the [CTRL]C or [CTRL][BREAK] break sequence. The default is
to disable both keys from having any effect, but you may wish to only disable one or
some combination. See the usage flags below to disable specific keys. Once installed
you may also un-install and remove the program from memory by using the /U
parameter. Once installed BOOTLOCK requires 624 bytes of memory.


1.10 05/04/91

Command Format

BOOTLOCK [options]


/? Display help information
/C Disable CTRL-C
/Inn Set the internal I.D. number where nn is 81h - FFh
/U Remove BOOTLOCK from memory

BOOTPAST - Boot past non system formatted diskettes


BOOTPAST will modify a floppy disk's boot sector so that the systems bootup process
will skip over the normally checked floppy boot sector and go to the hard disk boot
sector. Many times when you boot a PC if you have a diskette in the A: drive that is
not a bootable floppy you will get the message, NON-SYSTEM DISK or DISK ERROR
and have to reboot. BOOTPAST eliminates this problem by skipping over the normally
unbootable floppy boot sector. Be careful not to run BOOTPAST on diskettes that are
bootable or contain copy protection because BOOTPAST will write over the boot sector


1.20 05/04/91

Command Format


[d:] is the floppy drive to format.

BRKBOX - Software RS-232 Break Out Box for Communications Debugging


BRKBOX is a software version of a serial port breakout box. It displays the status of
a COM port inside your PC. The status of the DTR, DSR, RTS, CTS, DCD, and RI pins
as well as the data rate, parity, number of data bits, and number of stop bits are
displayed on the top right hand corner of the screen. This information is sometimes
useful when trying to debug a serial port or some associated communications software.
If no communications port is specified the program will default to COM1. To toggle the
display on and off use [ALT]C. The program will start with the display toggled off.
BRKBOX can be uninstalled by entering it with the optional U parameter if it was the last
TSR loaded.


1.21 05/04/91

Command Format

BRKBOX [port] [/U] [/Knnnn] [/Lx]

[port] is the COM port number 1 - 4
/U to uninstall
/Knnn to define a new hotkey
/Lx to specify the display location

CALENDAR - Display monthly or yearly calendar


CAL displays a calendar from DOS in one of two formats, either one month or 12
months of one year.


1.20 05/04/91

Command Format

Usage: CALENDAR [mm] yyyy

- mm is the month [1..12]

- yyyy is the year [100..9999]
if you specify 2 digits for yyyy then it will assume you mean 19xx


If you want to pause the display of a full year press [CTRL]S to pause the screen and
then any key to continue the display.

CAT - Unix lit CAT utility for concatenation of files.


CAT is a UNIX utility written for the MS-DOS world. For people that are used to UNIX
it is a handy familiar tool for displaying, printing, and concatenating files together. CAT
handles redirection of both input and output. It can be used similar to copy con to
create files as well.


1.11 05/04/91

Command Format

CAT [fname] - copy std input to file fname

CAT [file1] [file2] > [file3] - concatenate file1 and file2 to file3

CHIMES - Quarterly hour clock chimes


Chimes is a terminate-and-stay resident program that attaches itself to the BIOS timer
tick interrupt. The program counts the time internally, so that it does not bring any
overhead into system throughput by using DOS functions. When the program realizes
that the time is nearing the hour, the program starts chiming.

In its default mode, chimes produces "Time Tone" beeps. These consist of three short
beeps, starting at three seconds before the hour. Then, at the hour, a longer and higher
beep is given. Many of the dial-up time services provide such a time tone.

Chimes can be given the /M option on the command line to provide the different clock
chimes. Using CHIMES /M1 would setup chimes to use the Westminster chimes.

The Westminster chimes are the chimes that are played by Big Ben, the most famous
of all clock towers. From its home in London, England, the clock plays a melody based
on a composition by Handel.

The Saint Michael Chimes are also from England. However, the Saint Michael Chimes
were cast by an English craftsman for a church in Charleston, South Carolina during
the Revolutionary war. However, the British captured this city by battle, and took the
bells back to England. Amazingly enough, the American rebels stole the molds for the
bells, and a second set of bells was cast and installed in the Carolinian church.

The Whittington chimes were named for Lord Mayor Richard Whittington. Whittington
started life in poverty. However, he made money in great volume by trading. After his
terms as Lord Mayor of London, he became a philanthropist.

If you select the M0 option of the program, chimes will only become active at the hour.
Otherwise, chimes will faithfully reproduce the chimes for each quarter hour of the clock.
The program will also strike the hour by chiming for each hour, or chiming just once for
the half hour.


1.00 05/04/91

CHIMES - Quarterly hour clock chimes

Command Format


x indicates the different tones that are available

0 - Time Tones
1 - Westminster Chimes
2 - Saint Michael Chimes
3 - Whittington Chimes

CLEANFL - Clean Floppy Drive Heads


CLEAN is a utility that makes the task of cleaning floppy drive heads much easier and
more thorough. By moving the head of the floppy drive back and forth traveling the
entire span of the drive you get a much better cleaning action and the surface of your
cleaning diskette will last much longer. Most cleaning diskettes tell you to place them
in the drive and type DIR A:. In this scenario the head is always over the first track
using a small percentage of the cleaning surface all the time. By using CLEAN the
cleaning surface gets a much more even wear and will last longer and provide a
better cleaning job for your diskette drives.


1.40 05/04/91

Command Format

CLEAN [d:] [options]

d: refers to valid floppy drive (A:, B:, etc).
/Tnn specifies the number of tracks, e.g. /T40
/Pnn specifies the number of passes, e.g. /P10

CLEANUP - Disk Drive Cleanup & Space Recovery


Cleanup allows you to recover valuable space that is eaten up by unused or duplicate
files on your hard and floppy drives.


2.03 05/19/91


Cleanup has evolved from a small helpful utility that originally located duplicate files on
a hard disk to a full space recovery system. With the ever increasing size and lowering
cost of disk space it isn't uncommon to find PC's with an average of 80MB. As soon
become larger the task of managing them becomes more complex. It is no longer
feasible to remember the name and location and purpose of every file on your system.
Often files and programs will be installed on a temporary basis only to be forgotten and
either outdated or left behind. You can quickly devote as much as 25% of your hard
disk to unused or duplicate files. Cleanup provides a comprehensive way of dealing
with this problem by quickly isolating unused and duplicate files and removing them
freeing up valuable hard disk space.

Command Format



The main function of Cleanup is to recover lost disk space by removing duplicate and
unused files. You have total control over which files will and will not be deleted, but with
large hard disks it is easy to overlook single file names and accidently delete a desired
file. It is suggested that you backup your disk before running Cleanup. This will assure
that you have a means of recovering files that you delete by accident. The other
alternative is to have a copy of Norton Utilities UnErase or a similar type product.

CLEANUP - Disk Drive Cleanup & Space Recovery


Cleanup is a menu driven program. After initializing the program you are prompted with
a list of disk drives in your system. In this list you are allowed to toggle the search
amongst any installed drives in your system. Drives that are allowed, but not attached
are "grayed" out and you cannot select these drives. When you select a drive a check
mark will note when a drive is selected. You may select any combination of all
available drives. All of the drives selected will be treated as one large volume across
which all duplicates and file marking will take place. This is particularly handy if you
have more than one hard drive on which you keep files, and you might end up with
duplicate files across the drives. Once you have selected the drives to scan, press the
[F10] key to start scanning.

After all of the directories have been scanned you will be located at the main menu of
Cleanup. In the upper right hand corner of the screen is the Current Status window.
This window will always display information about the programs status. The number of
directories, files and duplicate files is calculated after selecting the drives and will not
change until you exit the program and run again. The number of tagged files and bytes
will show you the current statistics for the files that have been tagged for deletion.
These numbers will be updated as you tag or untag files for deletion.

There are two methods for tagging files for deletion. The first method is to use the Auto
Tag and Auto Untag menus. These menus are identical in options, and perform exactly
the opposite tasks. The Auto function allows you to tag groups of files all at one time.
Once tagged, you may then go in and manually untag individual files using the manual
tag option. Below are the options available from the Auto Tag and Auto Untag menus.

ALL - All allows you to tag/untag all of the files scanned. This is generally only useful
for untagging files. Be careful as if you use this to tag files, you will tag all of the files
on the selected drives for deletion.

CLEANUP - Disk Drive Cleanup & Space Recovery

SMALLER DUPLICATES - This will look at the list of duplicate files and whenever there
is a difference in size, the smaller file will be marked for duplication.

OLDER DUPLICATES - This is quite handy and will compare all of the duplicate files
and mark the oldest files. This is useful when you wish to only keep the most recent
version of a file on your system.

BACKUP FILES - This option will mark of files ending in .BAK. This was the original
function of the TIDY program from which Cleanup evolved. Many programs and editors
create a backup of a file when updating it. After a while these backups can clutter up
your system.

TEMP FILES - There are many programs that make use of temporary files while
processing work. Sometimes, if these programs are interrupted or crash, the temporary
files will be left of your drive. Most software uses the convention of naming temporary
files with a .$$$ extension. This option will mark all files ending in .$$$

EXT xxx - This allows you to tag a group of files with a particular extension that you
know should be removed. With this option you can specify any group of files by giving
the extension name. All files ending in the extension that you provide will be tagged.
Be careful that you wish to delete all files ending in the extension before running the
Erase option.

CLEANUP - Disk Drive Cleanup & Space Recovery

ZERO LENGTH - This was the other option available on the TIDY program. Another
type of temporary file that can often be created is one that was opened but never
properly closed. This will often result in a file entry in your directory with a file size of
0 bytes. The zero length is misleading. Every file entry requires at least one cluster
thus the minimum disk space used by a 0 byte file is the cluster size (512 bytes or
more). Having a lot of 0 byte files can actually take away space from your drive.
Choosing this option will mark all files with a size of 0 bytes for deletion.

LENGTH n - Like the Zero length files above, there may be instances where you
create a lot of small files that you wish to tag for deletion. This options allows you to
input a specific file size. All files with matching this file size will be tagged for deletion.

The MANUAL TAG option from the Main Menu allows you to view the list of files and
to manually tag or untag files. When you first enter this screen you will be presented
with the list of duplicate files. To view all of the files in the system press the [F6] key.
Then to switch back to the list of only duplicate files, again press the [F6] key. Tagged
files will be marked with a check mark next to the name, and will appear in red on
color monitors. To view the list use the up and down arrow keys. To tag a particular file
press the [ENTER] key. Pressing it a second time will untag the file. To untag a tagged
file, highlight the file and press the [ENTER] key. Once again, the [ENTER] key will
continue to toggle the tag on and off. When you are done viewing the manual tag list
press the [F10] key.

CLEANUP - Disk Drive Cleanup & Space Recovery

Once you are happy with the list of tagged files, choose the ERASE TAGGED option
from the main menu. This will erase all files that were previously tagged. There is no
UNDO feature on this program so once they are deleted you will have to use a unerase
program such as Norton Utilities Quick Unerase to recover any erased files. If you have
accidentally deleted a file, do not use the disk drive until the file has been unerased.
Changing data anywhere on the disk could result in permanently loosing the information
in the file.


There have been some reports of problems when using Cleanup in a machine that is
running both FASTOPEN and SMARTDRIVE. The best solution is to remove the usage
of FASTOPEN as it can cause sorting problems with the file list on large disk drives.

CURLOCK - Cursor Locking Program


This program was written when I purchased my laptop computer with LCD screen. I
found that I could set the DOS cursor shape with my CURSOR.EXE program but when
loading other software, the cursor was set to it's own cursor shape. CURLOCK locks
the cursor shape (optionally set with CURSOR.EXE) so that no matter what software
you use the cursor will not be changed. I found that on my laptop if I set the cursor to
a block and then locked it with CURLOCK I had much better luck in seeing and locating
the cursor in various programs. CURLOCK intercepts all calls to BIOS interrupt 10h and
bypasses any calls to change the cursor shape. It is a TSR requiring 592 bytes of
resident ram.


1.10 09/16/89

Command Format



Future Releases of this utility will allow the user to un-install the program.

CURSOR - Cursor Setting Program


CURSOR is a program that lets you control your cursor from the DOS prompt. You can
set the cursor to various shapes as listed above. Some software uses the DOS cursor
in which case the cursor will stay the same as what you set it using CURSOR. If the
software makes it's own cursor then the cursor you create with CURSOR will not
function inside this software. Some software resets the DOS cursor to it's own shape.
Therefore you might want to put CURSOR in a batch file after this software to reset the
cursor to what you want it to be at the DOS prompt.


2.00 12/29/90

Command Format

CURSOR [/D][/H][/B][/M][/?][/V][/I][/T:nn][/B:nn]

/D turns the cursor on to the bootup default underline
/H turns the cursor off (hide cursor)
/B makes the cursor a full block
/M displays the values of the registers for the video call
/? displays the help screen
/V returns version information
/I Interactive Setup. Gives you a full screen editor of your cursor
/T:nn set the top scan line of your cursor
/B:nn set the bottom scan line of your cursor


This version has problems with some VGA & EGA cards. The next version will fix these
CUT - Unix like CUT text formatting utility.


CUT is another UNIX utility written for the MS-DOS world. For people that are used to
UNIX it is a handy familiar tool for displaying and printing text files in different formats
by eliminating columns and other formatting options.


1.11 05/04/91

Command Format

CUT -clist [fname1] [fname2] ...


CUT -c1-15 test.txt

will display all characters in the file test.txt in columns 1 through 15

DELAY - Delay during bootup or batch files


Delay is a utility that can be used to replace the PAUSE command within a batch file.
Pause will never continue until a key is pressed, whereas with delay you can set the
amount of seconds to pause, and then continue or continue immediately by pressing a
key. Pressing [CTRL]C will also cause a break in a batch file that can be monitored
with the error level returned by DELAY. This is useful if you are trying to break out of
stream of commands from within a large batch file. DELAY can be used in
CONFIG.SYS as well as from within BATCH files, this is rather helpful when you are
trying to delay the execution of device drivers in order to see what is going by on the
screen. Specifying no time on the delay batch line acts the same as PAUSE. This new
version replaces the need for a separate file PAUSE.SYS.


1.60 05/04/91

Command Format

DELAY [time] or

[time] # of seconds to delay.

DETAB - Remove ASCII Tab characters from a text file


DETAB is a utility that will strip any tab characters from a ascii text file and convert them
into spaces. This is especially useful when working with old formatted .ASM files that
you would like to work with in an editor which treats fixed tabs differently.


1.50 05/04/91

Command Format

DETAB [input file] [output file] [/Tn][/NOH]

/Tn Set tab size to n
/NOH Suppress display of header

Environment Options

Set tab size using an environmental variable named TAB. This environmental variable
may be overruled by specifying a different one on the command line.

DISKINFO - Disk Drive Information Display


DISKINFO is a utility that will read the boot sector of a disk and then make a DOS call
to find out the information that DOS has for that disk. It will then list out the information
in a side by side format so that you may compare the reports from DOS and the boot

Most items reported are self explanatory. Every disk is divided up into tracks, sectors
and clusters. A track is a single ring around a disk. A sector is a pie shaped wedge
of a track. A cluster is the smallest unit to which DOS can interact with the disk drive
and it is a group of Clusters. The System ID is the 8 byte record that is put on the disk
when it is formatted. The Media Descriptor is a byte value that describes what type of
media the disk is.


1.10 05/16/91

Command Format


d: is the drive to view, if no drive is specified information on the current drive will be

EDIT - DOS Text File Editor


SuperEdit is an MS-DOS based full screen editor. It was written using Borland
International's Editor ToolBox. It has many features of most editors on the market today
including multiple windows and pull down menus. This editor has not been completed
at this time so there is only a small amount of documentation. You may press F1 and
any time during the program to get online help about various features. F10 will display
the menu bar. When using a menu choice the equivalent keystrokes of the menu choice
will be displayed in the upper left part of the screen. The shareware version of the
Editor includes: EDIT.EXE the main program, EDIT.HLP the help file and EDIT.DRV
the printer driver.

Registered copies include the above files plus: CONFIG.EXE, a keystroke configuration
program that allows you to completely customize the editors functions to your own
keystrokes, EDIT.HDX, the online help file that is used by CONFIG to create updated
help information on customized function key values, and some additional printer drivers.

To change these keystrokes to match any editor that you are used to run the
CONFIG.EXE program to install the editors keystrokes. Do not modify EDIT.HLP or
EDIT.HDX. These are the files used for the online help system and configuration
program. These files must appear in the same directory as CONFIG and EDIT in order
to be loaded properly.


3.04 05/24/91


The CONFIG and HELP parts of the Editor are only available in the registered or
commercial versions of the tool kit.

A new version is currently being written which will provide mouse and optional automatic
loading of all boot up files.

EVAL - DOS Command Line Calculator


EVAL is a program designed to evaluate mathematical expressions input on the
command line.


1.01 10/08/90

Command Format

EVAL [expression][function][expression]...

Usage Notes

EVAL 35+9

EVAL supports the four basic functions; addition, multiplication, subtraction, and division.
The syntax used is very similar to that of the mathematic expressions used by most
modern computer languages and by most spreadsheet programs. For example, to add
two to eight and multiply that result by thirteen, one would use:

EVAL (2+8)*13
EVAL - DOS Command Line Calculator


The operator precedence used is similar to most high level languages, as well.
Multiplication and division are "higher" than addition and subtraction. Exponents,
represented by the carat (^) is lower than all four operators. You will find that you can
exponentiate values by using ** in place of the carat. Thus, you can use: EVAL 2**1/2
to find 2^0.5.

It should be noted, by the way, that this is a good way to find roots. The program has
no sqrt() or curt() functions. You may recall from your math courses that, to find the y-th
root of x, you can do: x^(1/y)

Of course, EVAL will complain if this results in a complex number. For example, the
result of the above is complex if x == -4 and y == 4.


EVAL uses the full "double" precision of the C language. Thus, answers will be
represented to a maximum of 16 digits to the right of the decimal point. EVAL allows all
numbers between 1.7E-308 and 1.7E+308 to exist. Of course, the negatives of these
numbers are also available. It should be noted that EVAL doesn't check for overflows
or underflows. EVAL will, however, flag "digital math" nono's, such as division by zero
and exponentiations resulting in complex numbers. To use these numbers, just write
them as you would specify them in a program like 1-2-3 or in a program:


Modulo Division

EVAL, as well as complementing the four functions with exponentiation, allows the use
of the modulo operator. This operator provides the integral "remainder" of division.
Since 5 divided by two is two remainder one, the command: EVAL 5%2 will result in
the answer 1.0.

EVAL - DOS Command Line Calculator


EVAL supports an extensive list of functions, as well. Functions may be specified in
either upper or lower case, and may be abbreviated to as little as three characters. (Of
course, if the function's name is one or two characters long, all characters must be

These functions are supported by EVAL:

abs(x) - absolute value of x
acos(x) - arc cos of the angle x radians
acot(x) - arc cotangent of the angle x radians
acsc(x) - arc cosecant of the angle x radians
asec(x) - arc secant of the angle x radians
asin(x) - arc sine of the angle x radians
atan(x) - arc tangent of the angle x radians
cos(x) - cosine of the angle x radians
cot(x) - cotangent of the angle x radians
csc(x) - cosecant of the angle x radians
deg(x) - convert x radians to degrees
exp(x) - e to the power of x
fact(x) - factorial of x
ln(x) - natural (base e) logarithm of x
log(x) - base 10 logarithm of x
pi(x) - pi times x
rad(x) - converts x degrees to radians
sec(x) - secant of the angle x radians
sin(x) - sine of the angle x radians
tan(x) - tangent of the angle x radians
sinh(x) - hyperbolic sine of x
cosh(x) - hyperbolic cosine of x
tanh(x) - hyperbolic tangent of x
sech(x) - hyperbolic secant of x
csch(x) - hyperbolic cosecant of x

If any of these functions are passed invalid values, EVAL will abort with an error. The
arc-trig functions, for example, cannot accept values outside of the closed interval [0,1].

EVAL - DOS Command Line Calculator

Using these functions is similar to any other high level language. The function name
and its ending left parenthesis function as an opening parenthesis in the precedence of
the evaluation. Thus, sin(.7)^2+cos(.7)^2 would evaluate to 1.0. You may find that
certain identities don't evaluate to what you would expect them to.

This is because of the limits of precision in computer math when dealing with irrational
numbers. While the sin^2+cos^2 identity almost always works, the sec^2-tan^2 identity
usually doesn't work, for example.

Along with this problem, another comes. F%w example, mathematically sec(0.5*pi) is
undefined. However, EVAL will evaluate sec(pi(0.5)) to be a very (very) large number.
This is again because of the rounding errors in binary math. It is a good approximation,

lim(sec(x)) == +infinity x -> 0.5+


By popular demand, a "memory" feature has been added to EVAL. If you make a
computation using EVAL, the result is remembered and may be used as needed in any
further invocation of EVAL.

For example, using the command: EVAL SIN(1) would display the sine of one radian.
If you executed the command: EVAL ASIN(@) next, you'd get, effectively,
ASIN(SIN(1))... the result would be one. Similarly, if you used EVAL 35+15 EVAL
would print 50. If you did EVAL @+100 a result of 150 would be displayed.

EVAL stores the results in your machine's environment. You may see the previous
result by typing the SET command; DOS will list the environment variables it has stored.

EVAL's environment variable is listed on the line "EVAL".

FILEATTR - Set DOS File Attributes


FILEATTR allows you to change the attributes of a group of files. If told to, FILEATTR
also will search through sub- directories.

There are four: Archive, Read-Only, System and Hidden. If a file has the Archive bit set,
this means the file has been changed since the last time it was backed up. If a file has
the Read-Only bit set, this means the file can be read, but not written to, meaning it
CANNOT be changed. If a file has the System bit set, it means this file is a DOS
System file and should be left alone. If a file has the Hidden bit set, then you cannot see
the file or directory by using the DIR command. You can still run the file, assuming it is
executable, or go into the directory, it is just hidden.

FILEATTR can search through your directories for files as well. It has a limit of 450
directories it can handle.


1.10 05/11/91

Command Format

FILEATTR [filespec] [options]

[filespec] is any valid DOS file specification including wildcards.


/A Files with at least the Archive bit set. Search for files with at least the Archive bit
set, although there may be other bits set as well.

/C Clear all bits. Clears all the bits from a file. You can use the parameter of /ARSH
to accomplish this, I just added this to make it easier.

FILEATTR - Set DOS File Attributes

/D Change bits on sub-directories. Allows the changing of bits on a sub-directory. The
only bit that will affect it is the Hidden bit. You can hide or unhide a sub-directory.

FILEATTR will allow you to change the other three bits as well if you want.

/F Files only - Size, Date and Time are not displayed. Will stop the Size, Date and
Time of the file(s) from being displayed.

/H Files with at least the Hidden bit set. Will search for files with at least the Hidden
bit set, although there may be other bits set as well.

/K Kill (Delete) found files. Will kill (delete) all files that are found. Use this command
with or without the /V command. If a sub-directory is found, it will be skipped, not

/P Pause every page. Will pause the output every page, which is set for 24 lines. After
24 lines have gone by, a "pause prompt" will appear on line 25. The prompt allows
you to hit N for non stop listing, Q or ESC to quit and return to DOS and the sub-
directory in which you started from, C to return to DOS but in the current directory
or hitting any other key will continue for another 24 lines or until the end, whichever
comes first.

/R Files with at least the Read-Only bit set. Will search for files with at least the Read-
Only bit set, although there may be other bits set as well.

/S Process files in sub-directories. Allows searching from the CURRENT sub-directory
and all sub-directories below it for files.

/T Display totals of files found and changed. Will display totals after all files have been
found. It will display the total number of files found and files changed.

/U Unusual files - those with any bit set. Will find any unusual files. These are files with
any bit set. This is similar to the /A command.

FILEATTR - Set DOS File Attributes

/V Verify the Deletion of files. Will verify that you want to delete each file. This is used
with /K only and has no other meaning if /K is not used. The file will be shown as
normal and you will be shown a prompt "Delete? (Y/N/C/Q)" minus the quotes. Hit
'Y' to delete the file and FILEATTR will show you that it has been deleted. Hit 'N' and
the file is not deleted. Hit 'C' for continuous deleting from this point on without
verification. Hit 'Q' or ESC and the file will not be deleted and you will immediately be
returned to DOS and the sub-directory in which you started from.

/Y Files with at least the System bit set. Will search for files with at least the System
bit set, although there may be other bits set as well.


At anytime while FILEATTR is running, you can hit ESC or Q and you will be
immediately returned to DOS and the sub-directory at which you started from. Another
key you can hit while FILEATTR is running is P, which instantly puts FILEATTR into
Pause mode, the same as if you used /P option. You may also hit C at anytime.
FILEATTR will return to DOS and the current sub-directory. This is useful when using
the /S option, and you see something that makes you want to go to that directory.


FILEATTR Will display the help information screen.

FILEATTR /cspt a*.zi? Will search for files in the current sub-directory and all sub-
directories below that start with A and have ZI in the extension. It
will clear all bits on those files and display a total of files found and
files changed. FILEATTR will also pause every 24 lines.

FILEATTR d: /us Will search for files in the current sub-directory of D: and all
sub-directories below it for files with the any bit set.

FILEATTR - Set DOS File Attributes

FILEATTR fre*.* -h /kv Will search for files in the current sub-directory and start with
FRE and have any extension. It will clear the Hidden bit and Verify
that you want to Kill the file(s). This command could actually be
doing 2 functions at once. Say you want to delete one file with the
FRE*.* and just remove the Archive bit of another. By using the
Verify command, you can tell FILEATTR which one to delete.

FILEATTR \utils Will search the root directory of the current drive for a file or
sub-directory with the name UTILS and display the attributes for it.

FILEATTR \utils\ /sp Will search the root directory of the current drive for a sub-
directory called UTILS. If found, it will display all the files within that
directory and all directories below it while pausing every 24 lines.

FILEINFO - DOS File Information


FILEINFO is a utility that helps alleviate the problem that DOS has created by only
allowing 8 characters to describe a file. Many times you have files that aren't accessed
that often and can't remember what they are used for. FILEINFO provides a way of
adding comments to files in any directory. To run enter FILEINFO from the directory
that you wish to describe. Once loaded you will be presented with a list of files and any
previous descriptions that were left. Files that are new or haven't yet been described
will contain a * after the file information and before the description area. FILEINFO
creates a file in each directory that it is run in called FILEINFO. This is a standard
ASCII file and can be printed out to show the contents and descriptions of files for that


1.10 05/04/91

Command Format


FILESIZE - Display File Size Information


FILESIZE is a utility that will list each individual file in a directories size, then sum that
listing and then show total and free space on that particular disk drive. You may pass
FILESIZE a specific file to list, or group of files. If no parameters are passed FILESIZE
will list all files in the current directory.


1.23 05/15/91

Command Format

FILESIZE [filespec]


The next release of FILESIZE will contain the ability to show files in subdirectories of
the current directory, pause on screenfuls and will display file sizes in comma delimited
format for better readability.

FILETREE - Display DOS File Structure


FILETREE is a utility which will scan the directory structure of a disk and give a top
down tree listing of the entire disks directory structure. It groups the listing in a left to
right fashion with each subdirectory moving further right across the screen. Pressing
CTRL C during the scan will halt the program.


2.00 05/16/91

Command Format

FILETREE [d:] where d: is the drive to scan

FINDFILE - Find File on your Disk Drive


Will locate files by searching the entire disk for a specified file. You may use DOS
wildcards to find a group of files as well. The new version of FF will also search within
compressed files to search for filenames as well. FF searches across your disk looking
for any files that you specify. When it finds a matching file it will display the directory
the file was found in, the complete file name, the file size, creation date and time, and
any attributes associated with the file.


2.00 02/15/91

Command Format

FINDFILE [filespec] [options]


filespec is any valid DOS file specification including Wildcards.

/V Verbose mode, will show file statistics
/T Total mode, will show file totals and not found names
/D Progress Display, will show files as searching
/R All Drive mode, will search across all drives found

/N normal files only, do not search inside any compressed files (this is a combination
of all of the below options)
/O do not search inside .ZOO files
/Z do not search inside .ZIP files
/A do not search inside .ARC files
/P do not search inside .PAK files
/L do not search inside .LZH files

[CTRL]C - Will halt the execution of the program at any time.
[CTRL]S - Will pause the display at any time.
HELP - DOS Command Help Facility


HELP prints out help messages on some of the more useful and popular DOS
commands. To use the utility just type HELP followed by the name of the command
that you want help with.


1.11 11/16/90

Command Format

HELP [command] where command is any valid DOS command.


Help is available for the following DOS commands:

append, assign, attrib, backup, break, chcp, cd, chdir, chkdsk, cls, command, comp,
copy, ctty, date, del, dir, diskcomp, diskcopy, edlin, erase, exe2bin, exit, fastopen, fc,
fdisk, find, format, graftabl, graphics, join, keyb, label, mem, md, mkdir, mode, more,
nlsfunc, path, print, prompt, rd, recover, ren, rename, replace, restore, rmdir, select, set,
share, sort, subst, sys, time, tree, type, ver, verify, vol, xcopy

In the next release of help we will be adding HELP for all of the ExtraDOS utilities.

HEXDUMP - Hexadecimal Display of File Contents


HEXDUMP is a utility that will give you a quick dump of the contents of any file. The
dump is very similar in format to what you get with the Norton Utilities file viewer. An
advantage of HEXDUMP is that you can quickly dump the contents of any file to the
screen without having to load the overhead of a shell program. You can display any
type of file ASCII or Binary. The default display is to list the HEX values on the left and
the ASCII equivalents on the right hand column.


1.13 04/18/91

Command Format

HEXDUMP [filename] [options]

[filename] can be any valid DOS file including binary files.

/B will dump the file in binary groups rather than hex.
/O will dump the file in octal groups rather than hex.
/H will display the file in raw hexadecimal format rather than showing the hex and
ASCII values side by side
/P Pause mode, will pause each screen full

HUSH - Speaker Control Utility


HUSH is a utility that can eliminate a majority of the sounds generated by the PC's
internal speaker. The way that HUSH works, it can not eliminate all beeps. Tones that
it can not completely silence, it can reduce to a small click. HUSH is a small TSR which
when loaded watches for output to the speaker. When activated, HUSH will try and
suppress the speaker 18.2 times a second.


1.21 11/23/90

Command Format


ON - Enable HUSH functions
OFF - Disable HUSH functions

KILLDIR - Remove Directory and it's contents


KILLDIR is a utility that will make eliminating a directory and all of it's contents a lot
easier. When you run KILLDIR it will display the information about the directory that you
wish to remove including the number of files and sizes as well as any subdirectory
information. KILLDIR will remove all files and file types including hidden or system files.


1.03 03/11/91

Command Format

KILLDIR [dirname]

LASER - Laser Printer Control


LASER helps you set your laser printer's mode and also makes it easy for you to send
some control codes to it. It is specifically designed to work with HP LaserJet
Compatible Printers but some of the generic functions such as Form Feed, Line Feed
and Carriage Return will work with any printer.


1.40 10/18/90

Command Format

LASER [mode] [mode] ...


BOLDON Turns on Bolding of all characters
BOLDOFF Turns off Bolding Off

ITALON Sets the PCL Font to Italics
ITALOFF Turns of the PCL Italics

LF Send a Line Feed to the printer
FF Send Form Feed. This will usually eject the page that is in the printer.

CR Send a Carriage Return to the printer.
ESC Sends the ESCAPE code to the printer. ASCII 027.

6LPI Sets the PCL Font to 6 Lines Per Inch
8LPI Sets the PCL Font to 8 Lines Per Inch

16CPI Sets the PCL Font to 16 Chars Per Inch
10CPI Sets the PCL Font to 10 Chars per Inch

LASER - Laser Printer Control

PORT Sets the mode to Portrait Orientation. Outputs vertically on the page.
LAND Sets the mode to Landscape Orientation. Outputs horizontally on the page.

AUTO Tells the printer to use the internal paper tray to feed from.
MAN Tells the printer to wait for manually fed pages before printing each page.

LEG Set up the printer to use 8 1/2 x 14 Legal sized paper.
LET Set up the printer to use 8 1/2 x 11 Letter sized paper.

TEST Prints a Test page to the printer.
RESET Send the RESET code to the HP Laserjet.

PAGEON This parameter is for use with HP Laserjet users that have a Pacific Page
Postscript Cartridge installed. This cartridge allows you to emulate an Apple
LaserWriter Postscript printer on your HP LaserJet. Some software does
not support the Postscript mode, and rather than having to power on and
off and insert and remove the cartridge each time you wish to switch modes,
you can use laser to set the proper mode of the cartridge. PAGEON tells
the Printer to use the PostScript emulation mode.

PAGEOFF This tells the Pacific Page cartridge functions to disable and the printer will
now except standard PCL commands.

STRING=[text] This parameter allows you to send whatever strings you wish to the
printer. It can be used in conjunction with the ESC parameter to
select soft fonts and send setup commands.


In the next release of this utility we are working on more generic printer controls as well
as the ability to control Postscript devices.

LS - Unix like LS Directory Listing


LS is a file listing utility that is found in the Unix operating system. It has many
advanced features beyond that of the DIR command found in DOS. This
implementation has most of the Unix features built in. This version will also search the
environment string for LS=[defaults]. Any options that you set LS= with the SET
command will be loaded automatically when you run the program from the DOS prompt.
Set your most used parameters in your AUTOEXEC.BAT file and then a plain LS will
run those parameters for you. Options as in the Unix LS the switches are case


1.00 10/24/90

Command Format

LS [options] [filespec]


-1 list in single column
-C list in multiple columns
-F directories are marked with a trailing '\', system files are marked with a trailing '@'
and executable files are marked with a trailing '*'
-P print the directory name before listing
-R recursively list subdirectories
-S sort by file size in bytes (cluster size if option 's' is selected)
-a list all entries including hidden and system files
-d list directories as if they were a normal file
-f do not sort (list in the order files appear in the directory)
-l list in long format ([size in clusters,] mode, size, date, name)
-r reverse the order of the selected sort
-s list the file size in clusters
-t sort by time

MOVE - Move Files Across Directories or Drives


Will any file from one place to another. If moving the file from one drive to a different
drive, MOVE will first check to make sure that there is enough space on the destination
drive. If you don't specify a destination MOVE will assume the current directory and the
same file name.


3.10 05/16/91

Command Format

MOVE source [destination] [options]


/? Displays Help
/C confirm each file before moving
/O overwrite all colliding files
/X never overwrite colliding files
/N overwrite only newer files
/A ask before overwriting files (DEFAULT)
/S search subdirectories copying tree structure
/SX search subdirectories using destination directory
/NOH Suppress Header

MOVE - Move Files Across Directories or Drives



This will move the file ABC.TXT to the directory \DOS keeping the same name


This will move the file \DOS\ABC.TXT to the current directory keeping the same name.


If a file of the same name already exists where you are trying to move a file to you will
be prompted whether or not you wish to overwrite that file.

If a destination is unclear as to whether it is a file name or a directory name MOVE will
prompt you to decide for it.

If a destination directory does not exist, MOVE will ask you whether or not you would
like it to create a new destination directory for you.

NAMEDIR - Rename a Directory


NAMEDIR is a utility that is used to rename directories. This program will rename a
directory without having to empty or modify it's contents.


1.20 12/11/90

Command Format

NAMEDIR [olddir] [newdir]

PATHFIND - Find File in the Current Path


PATHFIND is a utility that allows you to search the file path for any files. This is handy
when you are trying to locate a similar program of file that could exist in multiple places
in your path statement. It will display the files that it finds in order of appearance within
the path.


1.30 02/25/91

Command Format

PATHFIND [filespec] filespec is any valid DOS filename including wildcards.


Future versions of this program will support the ability to search any path, rather than
just the DOS path. This is useful for searching file specifications for programs such as

PSPRINT - Print ASCII files to a Postscript Printer


PSPRINT is a utility that allows you to print DOS ASCII Text files on a PostScript device
without any conversion. PSPRINT is based on a unix filter taking STDIN input and
sending the converted text to STDOUT output. By rerouting the output to the printer
and specifying an input file name PSPRINT will print the file to the printer specified. The
default settings may be modified at a run time basis by using the optional parameters
on the command line. To set a default output mode you can specify the environment
variable PSPOUT=[destination] in your AUTOEXEC.BAT file. By using PSPOUT=LPT1
the output will be redirected to the LPT1 printer port rather than STDOUT.


1.40 03/02/91

Command Format

PSPRINT [options] filename


-m[xx] set left margin (in points) (24)
-t[xx] set top margin (in points) (24)
-l[xx] set leading (points between lines) (11.5)
-p[xx] set pointsize of font (10)
-f[name] set font name (Courier)
-n[xx] number of lines per page (66)
-i ignore form feed
-c[x] number of copies to print. Default is 1
-noh suppress the header information

SCRNATTR - SET DOS Screen Attributes


SCNATTR allows you to set the foreground, background and border colors of your
monitor. To use it, just type SA followed by three of the allowed parameters.


1.11 11/06/90

Command Format

SCNATTR [foreground] [background] [border]

The following are valid colors: Black, Blue, Green, Cyan, Red, Magenta, Brown, Gray,
DarkGray, LightBlue, LightGreen, LightCyan, LightRed, LightMagenta, Yellow, White.

SPEEDRAM - Increase Performance of System by reducing RAM Refresh


SpeedRam increases the speed of your system CPU by changing the refresh rate of
your systems 8253 timer chip. All Personal Computers, including the original IBM PC
were designed with a very high refresh rate. The rate used by all personal computers
is far beyond the rate required by the RAM chips used in these machines. SpeedRam
sets the refresh rate to match closer with RAM manufacturers specifications and in turn
frees up CPU cycles. These free cycles can be used by your software rather than going
to waste by refreshing the RAM too often. The change in refresh rate matches within
specifications of most DRAM manufacturers. Depending on your system SpeedRam
should increase your CPU's performance from 2% to 10%. You can measure this in
many ways such as LANDMARK's CPU SPEED Test or Norton Utilities SI program.

What is a REFRESH RATE and what does it do?

The memory in your Personal Computer is called DRAM, or Dynamic Random Access
Memory. This memory is made of banks of 9 chips each holding up to as much as 4MB
of 1 bit data. Each chip in a bank represents one of 9 bits. In Personal Computers, 8
of the bits store data and the 9th bit is called a parity bit, used to determine if the data
bits are holding the proper information. DRAM chips can not hold a charge of electricity
for a very long time. In fact, a new charge of 5 volts must be supplied about every 65
micro seconds or it will loose its data. To supply this charge, that is refresh, the
memory, the CPU must stop processing data and direct the 8253 chip to send the
refresh charge to the bank of memory. Once the refresh is done the CPU can continue
processing. By reducing the number of times the CPU has to stop to refresh the DRAM
is how SpeedRam speeds up your system.

SpeedRam is not a TSR. It does not require any RAM or take any away from your
system. SpeedRam only needs to be loaded once and will perform until the machine is

SpeedRam has now loaded and changed your systems speed. Now try loading some
software to insure that the system is working properly. Run all the programs that you
normally run on your system. Do not load any data that isn't already saved in case
SpeedRam causes a problem. If SpeedRam causes any problem, it will cause memory
problems, your system will either hang or you will get a Parity Error type message, if
have any problems refer to the Trouble Shooting section that follows for further
instructions. If everything works fine then you might want to install SpeedRam so it loads
every time you boot your machine.
SPEEDRAM - Increase Performance of System by reducing RAM Refresh

If you have any time of Memory or RAM test you can further insure that everything is
working properly by running that test. If it reports no problems than it is safe to assume
that SpeedRam has no conflicts with your machine.


1.10 05/09/91

Command Format

SpeedRam can be run from any DOS prompt or from within a batch file. There are 3
parameters that can be used with SpeedRam To invoke any of these options just enter
SpeedRam followed by a space and then the parameter followed by [ENTER]:

SPEEDRAM [option]


+ Enable SpeedRam. Entering a + will enable SpeedRam and set the optimum
refresh rate.

- Disable SpeedRam. Entering a - will disable SpeedRam and set the refresh rate
to stock values.

r:nn Set refresh rate to nn Us. Entering r:nn will set the refresh rate to nn micro
seconds. Only use this if you have a good understanding of the refresh rates.
Setting too high a refresh rate will cause memory Parity errors or hang your
system. If you find that SPEEDRAM + causes parity errors or hangs your system
than you will want to try this option.

SPEEDRAM - Increase Performance of System by reducing RAM Refresh


SpeedRam has been thoroughly tested on many systems before being released but due
to the complexity and variety of equipment available we can not guarantee that it will
work on every Personal Computer.

If you notice memory errors, parity errors, or that your machine is hanging after running
SpeedRam + then the rate that SpeedRam has chosen for your system is causing the
DRAM chips to fail. This is in no way a permanent failure, you will just have to pick a
lower rate at which to run SpeedRam. To use a manual refresh rate with SpeedRam
enter the following:


where nn is the refresh rate you wish to use. Start with 60 and retest your system. If
you continue to have problems keep decrements the amount by 5 until you reach a
value that your system works with. If the value is less than 18 then you will most likely
not benefit from SpeedRam. If this is the case contact technical support for further help.

If you have to use a manual refresh rate then install with the rate override option, and
give it the value that worked with your system when the installation program prompts

Some problems in benchmarking are caused by TSR or Memory Resident software such
as screen blankers or print spoolers.

The benchmark ATPERF.EXE from PC Tech Journal which measures overhead is
usually not affected by these programs. It is a very good sign of the change SpeedRam
has with your program.

Norton Utilities SI and Landmarks CPUSPEED can be affected by TSR's and may not
show the increase in performance. If notice no improvement in performance try running
the benchmarks without any TSR's loaded. If you still see no increase, call technical

SPEEDRAM - Increase Performance of System by reducing RAM Refresh

There are some utilities available as Shareware or Public Domain software that perform
a similar task to SpeedRam. If you have any of the following you might not see an
increase with SpeedRam:

FASTV20.COM 1988
ZIP.EXE 1988 (not to be confused with PKZIP archive program)

TEXTSRCH - Search Files for Text


TEXTSRCH is a utility that will search for all occurrences of a given string inside of a
specified text file. It will stop at each occurrence and display the found string, and
prompt the user to continue or to exit.


1.01 10/24/90

Command Format

TEXTSRCH [filespec] [text]


Currently TEXTSRCH is case sensitive and does not work on executable files. In the
next release of the tool kit we will address these problems.

TOUCH - File Stamping Utility


TOUCH is a unix utility that is used to stamp a file's attributes with the current system
date and time. This is useful if you want to have a group of files with identical date and
time stamps. Wildcards are acceptable in the filespec.


1.20 12/17/90

Command Format

TOUCH [filespec] where filespec is any valid DOS file specification including wildcards

TURBOBAT - Turbo Batch File Compiler


TurboBat allows you to compile standard DOS batch files into .COM binary programs.
This will greatly enhance the speed of large batch files by allowing them to run in native
code rather than interpreted DOS commands. The resulting .COM files may call nested
batch files without loosing the parent since the parent calling program is now no longer
a batch file.


2.20 07/07/91

Command Format

TURBOBAT [filename.BAT] [/I]


/I ignore labels that don't start with a letter. This is handy if you use the : as a
comment field holder in some places.


The output will be filename.COM.

In the next release of TurboBat, we will be making an effort to support all of the DOS
commands as well as an extended batch language that will allow the user to write
complicated routines within batch files.

Registered users of this package are free to create any programs using the TURBOBAT
compiler free from any royalties or licensing fees. If you have not registered the
ExtraDOS Toolbox then you may only create .COM files as an evaluation of the product,
but you may not ship any programs, commercial or not, that have been created by this

USEMOUSE - Use mouse for Keyboard Emulation


USEMOUSE is a utility designed to give mouse support to DOS and DOS applications
that normally can't use the mouse. USEMOUSE makes mouse movement emulate the
four directional arrow keys. You can also specify the emulation values for each of the
button events of the mouse. USEMOUSE supports most 2 and 3 button mice.


1.41 06/25/91

Resident Memory Usage

880 bytes

Command Format

USEMOUSE [/?][/Hn][/Vn][Lxxx][/Cxxx][/Rxxx][/Bxxx][/U]

[/?] display information about program
[/Hn] Horizontal acceleration. Default is 5. 1 is the slowest, 9 is the fastest.
[/Vn] Vertical acceleration. Default is 5. 1 is the slowest, 9 is the fastest.
[/Lxxx] Left Button key value. Default is [ENTER]
[/Cxxx] Center Button key value. Default is
[/Rxxx] Right Button key value. Default is [ESC]
[/Bxxx] Both Button key value. Default is [CTRL]C.
see key chart below
[/U] Uninstall. Will remove USEMOUSE from memory.
[/D] Disable the functions but remain in memory
[/I] set the TSR ID number where nn is a hex value from 81-FF

USEMOUSE - Use mouse for Keyboard Emulation

Key Values

If you wish to set the USEMOUSE key options to something other than the defaults you
must use the chart below to determine the code for that keystroke. Codes above 31
must be preceded with an @ symbol as these are extended key codes.

Key Code
--- ----
[F1]-[F10] 59-68
[F11]-[F12] 133-134

[ESC] 01
[BKSP] 14
[HOME] 71
[UPARR] 72
[PGUP] 73
[LARR] 75
[RARR] 77
[END] 79
[DNARR] 80
[PGDN] 81
[INS] 82
[DEL] 83


USEMOUSE's features can be disabled when running an application that has built in
mouse support. In this case you will need to run USEMOUSE to reset the internal
tables for USEMOUSE to continue running from non-mouse supported applications.

VOLLABEL - Set Disk Volume Label


VOLLABEL is a utility that allows you to view and modify the volume label on any disk.
The volume label is a 12 digit string that can be placed on any disk to help you
recognize what the disk is used for. VOLLABEL also allows you to erase an existing

This is a replacement for the DOS file LABEL, which is available in DOS 3.0 and
greater. VOLLABEL allows a mixture of upper or lower case letters and will prompt you
for the information required.


1.10 05/16/91

Command Format

VOLLABEL [d:] [label]

where d: is the drive that the label is to be found on.

[label] is any string up to 12 characters to be placed on the disk as the volume label.
LONG & SHORT, File Naming Conventions

With so many files and the already poor limitation of DOS only allowing 8 characters for
file names we have decided to rename some of the utilities to have a more intuitive name
for the people who might not know what the two letter abbreviations stand for. You may
switch the programs names by using two programs provided in the toolbox: LONG and
SHORT. As the name would suggest, LONG will rename any of the SHORT named files
to the LONG names. SHORT will perform the reverse of LONG. Of course, as with any
MS-DOS program you are welcome to rename the programs to some other name that
better suits your needs.


The EXTRADOS Toolbox programs and documentation are the property of Foley Hi-Tech
Systems. This product and its documentation are protected by United States Copyright
Law, Title 17 U.S. Code, are licensed for use on one computer per copy only.

EXTRADOS is Licensed and not Sold.

You may duplicate the EXTRADOS Toolbox programs and documentation files for backup
use only, for your own use, and for only one computer.


We do not warrant that the documentation is accurate, or that the program operates as
specified. We will not be liable for any damages of any kind sustained through the use
of the program. By using this product, you agree to this.


Program bug reports are welcome. If you have any questions feel free to give us a call
or write a letter to us at:

Foley Hi-Tech Systems
172 Amber Drive
San Francisco, CA 93131

9:00am - 4:30pm PST Monday - Friday

(415) 826-6084 VOICE
(415) 826-1706 FAX
(415) 826-1707 BBS
70262,1463 CompuServe


ExtraDOS Toolbox is a trademark of Foley Hi-Tech Systems

MS-DOS, is a trademark of Microsoft Corporation.
Revision Notes

10/11/90 - Version 2.01 was released. This version incorporated documentation that had
been run through a word processor for spelling and formatting cleanliness. Functionally,
it contained an update to the LASER program to support Pacific Page PCL/PS on and
off commands.

10/15/90 - Version 2.02 update. This included the HEX utility for displaying the HEX
dump of a file from the command line. The AREA utility was also recompiled and added
to this revision as well.

10/18/90 - Version 2.03 update. Updated the LASER utility to allow generic strings to be
sent to the printer.

10/24/90 - Version 2.04. Added UNIX Touch utility to package. Allows stamping of files
to current system date and time. Updated the MOVE program to 2.00 adding the /C /N
/O options and making it much smaller.

11/20/90 - Version 2.11 Added the PSP PostScript utility that allows the printing of DOS
Text files on PostScript printers. Added the PAUSE.SYS utility that allows pausing during
the CONFIG.SYS bootup routine. Added the revised HELP utility to give help syntax with
DOS commands.

11/27/90 - Version 2.20 Updated AREA utility to include searches for strings or area
codes and updated the 902 area code. Updated the HEX utility to support HEX, BINARY
and OCTAL displays. Added the TIDY utility, formally known as NJTIDY in the shareware
world. Allows cleanup across a drive of .BAK and 0 length files.

12/12/90 - Version 2.30 Updated the PSP and AREA utilities and added the ND (rename
directory) utility.

12/14/90 - Version 2.40 Added the PF path find utility. Allows you to search just the path
rather than the whole disk for a filespec.

02/04/91 - Version 2.50 Added new ALARMCLK utility. Added new ALLSUBS utility.
Update of AREA utility allowing it to become a 7k TSR and define hot key for activating.
Added new utility BOOTLOCK which locks out the SOFT Boot and Break Keys from
having any function. Updated the CURSOR program to allow full screen interactive
editing of the CURSOR's shape. Added the KILLDIR utility that allows the removal of
entire directories. Fixed the PSP utility to allow printing of files with an empty first line.
Added the new ADDCOMM utility for managing serial ports.
Revision Notes

02/08/91 - Version 2.51 Fixed the space estimator on the KillDir utility. Added new
version of FF that allowed searching within compressed files.

03/02/91 - Version 2.60 Added the BRKBOX utility to monitor COM ports. Updated the
PSP utility to include multiple copies and header suppression. Revised the
documentation to require fewer pages. Rather than 1 utility per page, made better use
of each page.

03/05/91 - Version 2.61 Added updated BANNER 1.15 with ability to directly print to a
printer rather than using DOS redirection.

03/08/91 - Version 2.62 Updated ADDCOMM utility to reduce code size to 3k.

03/11/91 - Version 2.63 Updated ADDCOMM utility to fix bugs with some AMI non
standard BIOS machines. Updated BANNER utility to automatically send output to
printer, and support file output as well. Updated FS utility to work on any drives including
Network drives. Added update to TOUCH utility that allows multiple filespecs on a single
command line.

03/12/91 - Version 2.64 Updated ALLSUB utility to make program smaller and faster.

04/16/91 - Version 2.70 Added new version of SuperEdit Editor including printer drivers,
better windowing support and the registered version includes fully functional Configuration

04/25/91 - Version 2.80 Updated the BOOTLOCK utility to allow user to define specific
choices of keys to lock out. Updated the BRKBOX serial port diagnostics program to help
with TSR management programs and a cleaner uninstall routine. Added the new program
CLEAN to clean floppy drive heads better.

05/04/91 - Version 2.90 Added the BOOTPAST program which modifies floppy disk boot
sectors with information to skip over them during the boot process.

05/05/91 - Version 2.91 Added the CHIMES program version 1.00. After many requests
added the BETA version of CLEANUP 2.01 which when completed will replace the TIDY

Revision Notes

05/09/91 - Version 3.00 Added SpeedRam utility that had previously existed as a stand
alone product. Updated all utilities to have a long and short name (will ship with the long
name and a file to switch the names back and forth). Updated the Alarm clock with
multiple alarms and SETALARM program. Updated the CALENDAR program for past
year date conventions. Updated CAT utility to correctly support I/O redirection. Updated
CHIMES program to work on high speed 486 machines correctly. Updated the CAT utility
for better screen support. Updated DELAY utility work in either BATCH files or in the
CONFIG.SYS file as a device driver, replacing need for PAUSE.SYS as a separate file.
Made updates to DETAB to help support bigger text files. Added the FILEINFO program
that allows you to make descriptions for files in any directory. Changed the layout of the
manual to accommodate for 1 utility per page and prepare the layout size for new printed

05/11/91 - Version 3.10 Added the FILEATTR file attribute program.

05/16/91 - Version 3.20 Fixed the problem with some programs that had been compiled
with 286 instructions and would not run on XT type machines. Updated the DETAB
program with support for definable tab sizes and faster execution. Added the DISKINFO
program that displays information about disk drives. Updated the FILEATTR program.
Updated the FILETREE program for faster execution, display of status and CTRL C break
out support. Updated the MOVE program to fix some bugs and added new file date
checking. Added the VOLLABEL program that reads, displays and allows the changing
of the disk volume label.

05/20/91 - Version 3.30 Added the release version of CLEANUP which fixes all known
bugs and adds the view filtering feature. Updated manual for new layout. Continued
reformatting manual for more clarity.

06/09/91 - Version 3.40 Added USEMOUSE mouse utility. Continued to reformat
manual. Removed the MAZE utility. Removed the TIDY utility as it was replaced by

06/21/91 - Version 3.41 Updated notes about TurboBat and Cleanup usage.

06/25/91 - Version 3.42 Updated the USEMOUSE utility to support disable and uninstall

Revision Notes

07/07/91 - Version 3.43 Updated the TurboBat compiler with support for bigger batch
files; added /I label override option; fix buffer overflow errors.
Credits & Inspiration

This collection of utilities started out as a small set of home grown tools that I just could
not stand to live without. Many times someone would see me using them and ask for a
copy. This was a big mistake. All of the sudden I had to debug my code. Someone
would call me up and remind me of some problem with a utility that I had written or asked
me to just add this one little feature. Six years later the package has evolved to its
current state. Along the way I have had the help of many people in testing and ideas for
products. I would like to thank all of those people who have of course registered these
utilities as this is now a new incentive for continuing to expand them. More specifically
I'd like to thank the following people:

Jay Wessel - Relentless Testing & suggestions. Jay's never ending pursuit to find bugs
and abnormalities in the programs is always appreciated.

Mike Blaszczak - "Nifty James" shareware author who had some good ideas of which we
have expanded upon. Mike is responsible for the original versions of CHIMES, EVAL and

Mike Viens - Mike was the original author of the NAMEDIR and FILEATTR program. His
original utilities where known as the FANTASTIC utilities.

Mike Molloy - AREA was based on Mike's original FAC area code TSR. Mike has
updated the AREA program with many new features.

Kathy Smith - For her never ending understanding and support of this time sink of a

PC Magazine - PC Magazine has inspired many of these utilities with many good ideas
published in the technical articles seen in every issue. Many times we have taken an
idea of a program that they have published and made a usable utility out of it.

New Utilities Coming

We are constantly updating and writing utilities for the ExtraDOS Toolbox. Below is a list
of some of the utilities currently under development:

ASKBATCH Ask Questions in a batch file.

BATPLUS Enhancements for batch file processing.

BOOTB Boot Machine from B: Drive.

BROWSE Full featured file browser.

CUTPASTE TSR to cut and paste text to and from any programs.

DIFF File comparision utility.

DIRSORT Sort directories on your disk drive.

DISKMAP Displays a graphical representation of your drives structure and usage.

DISKTEST Comprehensive test of disk surface, and file structures

EMS EMS Memory Manager for 286, 386 and 486 based systems.

FASTANSI Replace DOS ANSI with faster and more powerful ANSI.SYS driver.

FREERAM Quick display of Memory Usage in system.

KEYCLICK Customize the sound generated when pressing keys.

LQPRINT Makes 9 pin Dot Matrix Printers print Near Letter Quality.

MONITOR A convergence alignment test for your monitor.

MORE Screen holding utility for display pages.

NO File exclusion utility.

PASTE Unix like PASTE function.

New Utilities Coming

PMPTMGR Library of Customized DOS Prompts and utility to remap function keys.

PROFILER System Profiler. Shows hardware and software installed in your system.

RAMDISK FAST RAM disk for Extended or EMS Memory.

RAMTEST RAM Diagnostic and Bad Chip locating utility.

RECALL Recall DOS commands. Buffers all commands entered at the DOS prompt.

SCNSAVER Screen Saver. Blanks screen after no use of system.

SCROLL Recall lost screens from DOS. Allows you to scroll back screens.

SYSINFO System Information utility. Displays a list of installed equipment.

SORTFILE Sort information in ASCII Files.

TOUCHSHT Allows you to press a state key and then release it while holding it's state.

TSRMGR TSR Management tools for removing TSR's from memory.

USEMEM A valuable tool for testing programs with specific memory useage.

VSPEED Increase the performance of your video card in text mode.

WIDEDIR A replacement for the DOS dir command.

XCHDIR Smart Directory Changer. Allows the quick change of directories.

XSPOOL XDOS Print Spooler.

Other FHTS Products

ExtraDOS Toolbox Professional (tm). A large collection of utilities that DOS forgot.
Includes many helpful utilities that enhance MS-DOS machines. Featured in the DOS
POWER TOOLS 2nd Edition book by Bantam Publishing (July 1991). $39.95

Press Gate Manager (tm). Software for event organizers. Creates & maintains a
database of events and guests with the ability to track seating by type, location and
person. Produces seating charts and labels for Press Passes.

FINDB (tm). Financial Database System for tracking shareholders in a company. Allows
the instant retrieval of information based on any part of a persons account id, ss#, zip
code etc. Has support for completely customized HP Laserjet tax forms. Ideal for
generating K1 tax reports for limited partnerships.

StatView (tm). Software that keeps track of all players in the NBA. Includes dial in
capability for daily updates on transactions, statistics and penalties.

MazeWars II (tm) (Macintosh). A completely new version of the classic MAC maze
game. New version supports color. Has three different types of games, classic maze,
dog bone maze, and new capture the flag team play. New intelligent robots chase you
around or play with up to eight other people over the appletalk network. $39.95 single
user, $69.95 network license.

Safety Disk (tm). Safety Disk saves all of your systems vital information and will solve
most problems due to: Loss of battery power, Loss of CMOS information, accidental
deletion of boot files, virus damage to boot disk. $59.95.

SLPII. Software for the Seiko Smart Label printer that allows greater flexibility and
resides in 6k of memory instead of the 71k that is required by the software shipped with
the printer. $29.95.

Coming Soon

Windows Digital Sound Kit. A module that plugs into your serial port and allows you
to record sounds using a microphone or stereo input and save them on your hard disk.
The kit also includes drivers and sample code to include these recording with your
programs. Works with Turbo Pascal, Turbo C, Borland C, MS C, TASM, MASM, Turbo
Pascal Windows and MS SDK.

 December 7, 2017  Add comments

Leave a Reply