LS.COM Directory Program

General discussions related to the Altair 8800 Clone

LS.COM Directory Program

Postby AltairClone » May 15th, 2020, 11:23 am

While disassembling the enhanced CP/M directory program "LS.COM" to look for a way to put a space between an eight character file name and its extension, I ran into the fact the the program supports a number of command line options.

The command options are preceded by a $. For example:

A0>LS $UV

U - Show files from all user numbers
V - Verbose mode, include user number and attributes
S - Include system (hidden) files in the output
F - Show file names only (no sizes)
P - Pause and paginate output, on by default, use NP to disable
N - Negates all flags that follow

Mike
AltairClone
Site Admin
 
Posts: 632
Joined: April 5th, 2013, 10:55 am

Re: LS.COM Directory Program

Postby toml_12953 » May 16th, 2020, 6:40 am

AltairClone wrote:While disassembling the enhanced CP/M directory program "LS.COM" to look for a way to put a space between an eight character file name and its extension, I ran into the fact the the program supports a number of command line options.
Mike

Did you ever find a way to put in the space?

Tom L
toml_12953
 
Posts: 297
Joined: June 7th, 2013, 12:54 pm

Re: LS.COM Directory Program

Postby AltairClone » May 16th, 2020, 10:48 am

Another hobbyist pointed me to the source code for a newer version of the program that provides the extra space I wanted between the eight character file name and the extension (it actually puts in a '.' which works for me). I have posted it at the link below. The actual program name was DIRR (or DIRR7 as it is version 7). I have posted it as both DIRR7 and as LS.

The command line options are slightly different than what I show in my initial post. Type LS ? (or DIRR7 ?) to see the command line options.

https://deramp.com/downloads/misc_software/dirr-ls/
AltairClone
Site Admin
 
Posts: 632
Joined: April 5th, 2013, 10:55 am


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 21 guests