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
LS.COM Directory Program
-
- Site Admin
- Posts: 677
- Joined: April 5th, 2013, 10:55 am
- Contact:
-
- Posts: 305
- Joined: June 7th, 2013, 12:54 pm
- Contact:
Re: LS.COM Directory Program
Did you ever find a way to put in the space?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
Tom L
-
- Site Admin
- Posts: 677
- Joined: April 5th, 2013, 10:55 am
- Contact:
Re: LS.COM Directory Program
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/
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/
Who is online
Users browsing this forum: No registered users and 1 guest