[Contents] [Index] [Help] [Browse <] [Browse >]
lister add <handle> <name> <size> <type> <seconds> <protect> <comment>

This command adds an entry to the specified lister ( handle ).

 name  is the full name of the entry (no path);
 size  is the size of the entry (bytes);
 type  is the type of the entry (less than 0 for a file, greater then 0
       for a directory);
 seconds  is the datestamp of the entry in seconds from 1/1/78;
 protect  is the protection bits of the file (in ASCII format, eg "rwed");
 comment  is the comment of the entry (if any).

Valid entry types are:-
                 0     device
                 1     plain directory
                -1     plain file
                 2     directory in assign colour
                -2     file in device colour
                 3     directory in bold (link)
                -3     file in bold (link)
                 4     directory in assign colour and bold
                -4     file in device colour and bold

After a  lister add  command, the display is not updated until you execute
a  lister refresh  command. 

For example,
    + lister add 121132636 '"My file!"' 12839 -1 540093905 prwed my comment

The ARexx calender/date functions provide routines perfect for converting
various time formats to the datestamp entry and back again. 

See also:

 lister addstem 
 lister remove 


Converted on 04 Nov 1998 with RexxDoesAmigaGuide2HTML 2.2 by Michael Ranner.