Elipse Limited


Baker's Dozen DOS and OS/2 Programs

DOS: DELAY.COM ( 7806 bytes)
OS/2: DELAY.EXE (23244 bytes)
DELAY is designed to be used in batch (command files) to allow time to read the screen. It takes a single parameter, the number of seconds to wait before continuing.

DOS: WAITIL.COM ( 8463 bytes)
OS/2: WAITIL.EXE (40568 bytes)
WAITIL will wait until the given clock time. It takes a two parameters, the desired hour (on 24 hour clock) and the minute. The user can cause WAITIL to end by pressing the escape key.

DOS: WAITKEY.COM ( 4764 bytes)
OS/2: WAITKEY.EXE (24756 bytes)
WAITKEY pauses the batch file and waits for the user to press a key exactly as PAUSE does. However, unlike PAUSE, waitkey has a time-out so that the batch file will eventually continue even if the user does not press a key. It takes a one parameter, the number of seconds to wait before timing out (Default = 20 sec).

DOS: LF.EXE (10743 bytes)
OS/2: LF.EXE (32176 bytes)
LF (ListFiles) will display a directory horizontally, sorted first by extension, and then by file name. It takes multiple parameters to indicate directories and/or wild cards for display. The default is all files in the current directory.

DOS: NF.EXE ( 9725 bytes)
OS/2: NF.EXE (31596 bytes)
NF (NewFiles) will display files in a directory sorted with most recent first. It takes up to two parameters, one to indicate directories and/or wild cards for display, and an integer to indicate the number of files to show. It defaults to the most recent 16 files in the current directory.

DOS: LP.EXE (16690 bytes)
OS/2: LP.EXE (61088 bytes)
LP (LinePrint) will display output one or more files to a PCL printer. Pages are titled and numbered. Font size is adjusted so that the longest line will fit on letter sized paper. Also the text is centred on the page. There are several parameters available. Use LP /? to see the choices.

DOS: SORT.EXE ( 9845 bytes)
OS/2: SORT.EXE (35320 bytes)
SORT is a direct replacement for the DOS (or OS/2) version of SORT and takes the same parameters. However, it removes the DOS (OS/2) limitation of 64K bytes files. The DOS version can use up the the whole 640K and the OS/2 version will sort files of almost limitless size thanks to its use of virtual memory.

DOS: TALLY.COM ( 9454 bytes)
OS/2: TALLY.EXE (37936 bytes)
TALLY is similar to the WC UNIX utility. It counts characters, words, lines and pages for the given file(s). If multiple files are specified, TALLY will also provide a summary (total and average values).

DOS: VOLUME.COM ( 7842 bytes)
OS/2: VOLUME.EXE (35708 bytes)
VOLUME queries and displays the volume label of a disk (or partition). It works for fixed and removeable media and redirected (network) volumes. It will not give a critical error. If there is no disk label or if there is no disk present, it returns *No Label*. Its single parameter is the disk letter being queried. The default is the current drive.

DOS: FCREATE.COM ( 6505 bytes)
OS/2: FCREATE.EXE (31036 bytes)
FCREATE simple creates a file with no contents (zero byte length). It requires a file name which may be a fully qualified path. If the file already exists, its contents will be removed so use carefully.

DOS: MAKESTR.COM ( 8650 bytes)
OS/2: MAKESTR.EXE (25824 bytes)
MAKESTR takes any number of decimal, hexidecimal, and text codes and outputs the string equivalent. Decimal input is specified numerically, such as 65 66 (for AB). Hexidecimal ends with the letter h, such as 41h 42h (for AB). Text is preceeded by the at sign (@) such as @AB (for AB). If the parameter includes a DOS or OS/2 special character, enclose the parameter in quotes. This command is useful with redirection to a file or device. For example,
MAKESTR 1Bh @(s16H >PRN
sets a PCL printer to 16 pitch.

DOS: TRIM.EXE ( 8431 bytes)
OS/2: TRIM.EXE (33708 bytes)
TRIM removes trailing blanks from the end of all lines in a text file. It requires two parameters, the input file name and the output file name.

DOS: ADJTEXT.EXE (18952 bytes)
OS/2: ADJTEXT.EXE (52016 bytes)
ADJTEXT attempts to reformat a text file to fit a given width (number of characters). It will try to respect paragraphs and it will hyphenate words if necessary to best fit the given width. Its parameters are the input file name and desired width. Both will be prompted for if not given. Output is sent to stdout (and may be redirected).

Revised: 2001 Apr 09



Our philosophy
Our history
Jay Schwartz, President
Free downloads
Elipse Home Page
Send us e-mail