Double Dir by James A. Lisowski is a simple BASIC program for the Commodore 64 that prints a two column listing of the contents of a disks directory. Maybe you could incorporate this into your own program.
Data
Download