The LIST command is used to return a list of files in the specified folder.
The supplied working list can be either one, two or five fields.
For a one field list, each entry has the name.
For a two-field list, each sorted entry has type and name.
For a five-field list, each sorted entry has the type, date, time, size and name.
Syntax:
|
Example
LIST PATH(/Shared/folder) #WRKLST(TYPE,FDTE,FTME,SIZE,FILE)