Priest of the Order of the Butterfly
Posts: 680 from 2009/10/21
From: Boston, USA
Osco scurrying to DOS MANUAL .Where's that AmigaDOS online manual...? There it is !!
DOS MANUAL
'LIST' HAS 16 options and the last one shown is "LFORMAT"
LFORMATt = "Text"
The option causes the text in "Text" to be displayed.
Entering %s serves as a place holder for the actual file name.
Entering a second %s causes the fillename to be displayed a second time.
Entering three %s causes the first one....
Entering four %s causes...
Ram:> Help List produced The LFORMAT option modifies the output of List and can be used as
a quick method of generating script files. When using LFORMAT,
specify an output format string; this string is output for each file
or directory normally listed. It can contain any text you specify,
plus the usual List output information. When LFORMAT is specified,
the QUICK and NOHEAD options are automatically selected.
To save the output, you must redirect it to a file by using
the > operator or specifying a TO file.
The available substitution operators are:
%A Prints file attributes (protection bits).
%B Prints size of file in blocks.
%C Prints any comments attached to the file.
%D Prints the date associated with the file.
%E Prints just the file extension.
%K Prints the file key block number.
%L Prints the length of the file in bytes.
%M Prints the file name only, omitting any extension.
%N Prints the name of the file.
%P Prints the file parent path.
%S Superseded by %N and %P; still functional.
%T Prints the time associated with the file.
You can put a length specifier and/or a justification specifier
between the percent sign (%) and the field specifier.
To specify left justification, place a minus sign (-)
before the length specifier. Otherwise, the information
displayed is right justified.
NOTE: The default output of the LIST command uses the following specification:
%-24 %7L %A %D %T
Ram Disk:>
[ Edited by osco on 2010/4/26 11:31 ]
Mac Mini 1.5GHz, 1G, 250G Drive, Apple Cinema Display, MorphOS 3.1 registered, MacOS 10 PowerBook (5,8) 1.67Hz, 2G, 80G Drive,........Waiting
PowerBook (5,8) 1.67Hz, 2G, 40G MorphOS 3.1 unregisterd