Fork me on GitHub

Project Notes


Expose Long/HPFS filenames with REXX on OS/2


NB: this was written (and last tested!) in 1993

System Requirements

ShowLong requires REXX to be properly installed on your system. It also requires RXQUEUE.EXE which should be found in C:\OS2. It has been developed under IBM OS/2 v2.x - I’m not sure how it will go under previous versions.

About ShowLong

ShowLong is used to expose all of the files/directories in a specified direcory tree that have names that don’t conform to the DOS FAT 8.3 standard. It simply lists all offending files with full path info - its up to you to decide what you do with the information!

The utility was initially developed to provide a quick “DOS compatibility” check for files being moved between environments, but has other uses such as when preparing to migrate an HPFS partition to FAT.

Using ShowLong

Getting help:     SHOWLONG /?
       SHOWLONG [RootDir]

Output is a list of all files/directories with non-DOS FAT 8.3 names.

Where RootDir is the “root” directory from where to start the scan of files. The default is the current directory. Note that scans will search all sub-directories. Eg: to scan all of D: drive:


NB: It is possible to use file masks if appropriate:

  SHOWLONG D:\*.doc

Credits and References

About LCK#132 REXXOS/2
Project Source on GitHub Return to the Project Catalog

This page is a web-friendly rendering of my project notes shared in the LittleCodingKata GitHub repository.

LittleCodingKata is my collection of programming exercises, research and code toys broadly spanning things that relate to programming and software development (languages, frameworks and tools).

These range from the trivial to the complex and serious. Many are inspired by existing work and I'll note credits and references where applicable. The focus is quite scattered, as I variously work on things new and important in the moment, or go back to revisit things from the past.

This is primarily a personal collection for my own edification and learning, but anyone who stumbles by is welcome to borrow, steal or reference the work here. And if you spot errors or issues I'd really appreciate some feedback - create an issue, send me an email or even send a pull-request.