SORT

When you type SORT from the command line use the following syntax:
Read syntax diagramSkip visual syntax diagram
         .-DT-----.   
>>-SORT--+--------+--------------------------------------------><
         +-+----+-+   
         | '-FN-' |   
         +-+----+-+   
         | '-FT-' |   
         +-+----+-+   
         | '-AT-' |   
         +-+----+-+   
         | '-RC-' |   
         '-+----+-'   
           '-SZ-'     

SORT sorts the file list.

Operands

DT
specifies sorting the files by date/time. (This is the default.)
FN
specifies sorting the files by file name.
FT
specifies sorting the files by file type.
AT
specifies sorting the files by attribute.
RC
specifies sorting the file by number of records.
SZ
specifies sorting the files by size.

Example

'SORT FN'

This example sorts the file list by file name.



rvse572.html | Timestamp icon Last updated: Monday, 5 June 2017