The Jim Lewis OS/2 Web Page
Last modified 1/29/2004 12:05 AM CST

I have been writing programs for OS/2 since 1990, and have included some of them here for free download. All of these apps should run on any version of OS/2 from 2.0 to Warp 4, including Warp Server for e-business and the Convenience Pack.

Command Line Utils

buconfig - Creates a numbered backup of CONFIG.SYS on the boot drive.

buini - Creates a numbered backup of the INI files.

config - Checks your CONFIG.SYS file for accuracy. You can diagnose problems and save reboots with this.

crc - Calculate the 16 bit CRC of file(s).

crc32 - Calculate the 32 bit CRC of file(s).

drives - Shows all drive partitions in system, including LAN and CD ROM. Shows file type (FAT, HPFS, etc.), volume name and space remaining on each. Supports large drives.

elephant - Removes forever that annoying "elephant" from Warp 4.

f - Finds any and all files on the system. Can search by date, size, etc. A CRC function is built in. Shows file name, size, date, time, permissions, and EAs. Can run a command on each found file, start the search from a subdir, and more.

findcom - Searches the PATH for the command (or file) you name. You can omit the extension, and this util will find the correct .COM, .EXE, or .CMD file. Similar to the Unix "which" command.

grep - Searches files (text or binary) for simple strings. Will properly span directories.

here - Saves current drive & directory into files for instant recall later. Saves both time and typing.

jdir - An enhanced "dir" which shows creation and last update info, file attributes, EAs, and more.

jsort - Sorts a file (on 1st column only). Doesn't suffer the 64K limitation of the OS/2 SORT command.

rdl - Removes all directories and files under and including dir given as a parameter, even read-only files. Does not prompt first, making it very useful in batch files.

remtags - Removes HTML tags from file.

reptab - Replaces tabs in file with the correct number of spaces.

screen - Ever have something on the text screen you want saved? This util will save the current text screen contents to a file you name.

span - Runs a command you specify in the current directory and all subdirectories.

split - Splits big files into smaller size files. You control the size. Also includes reminder on how to reassemble the file using the copy command.

strip - Strips the binary chars from a file leaving just the ASCII so that it can be read. Great for when some Windoze loser sends you a Word document.

touch - Changes date and time of files.

wave - Plays .WAV and .MID files. Wildcards work, too.

Presentation Manager Utils and Games

Memory Status - An app that shows the current time, date, memory and swap file usage, updated every 2 seconds. When requested, also shows location of swap file, space left on swap drive, total ram in machine, sizes of OS2.INI and OS2SYS.INI, location of boot drive, CD rom drive, OS/2 version and revision, and time since IPL. Has a simple Alarm Clock function, and warns the user if space is below 2M on the swap drive. On system shutdown, checks the A: drive (and optionally the CD) and warns you if a disk is still in the drive.

Targ for PM - A video game (requires 1024x768 or better screen resolution).


Download all of the above: warp13.zip

Java Games

Targ for Java - Shoot the Targs before they ram your ship. The Targs get smarter on every level.

Lunar Lander - Land on the red landing pads while dodging asteroids.

Tego for Java - Remember the board game Stratego? Give my 2-player Java application a try. All you need are 2 net-connected machines. Comes with example setups, a help file, and more.

1-player Stratego for Java - A Stratego game for 1-player.


All I ask in return is for feedback on how good (or bad) these utils and games work for you.

Many of the above utils have DOS and Linux/Unix equivalents, e-mail me if you're interested in any of these.

I have many more utils, some are really obscure (I needed it, I wrote it). Some of these include a text editor, a binary editor, serial port apps, etc. E-mail me if you want to know more.


Please send any comments or suggestions to me here.