> I am using the code below to read and sort the current directory
contents.

If you only need files or dirs the following may help:


read-dir: func [path /files /dirs] [
     either dirs [
          sort remove-each dir read path [#"/" <> last dir]
     ][
          sort remove-each dir read path [#"/" = last dir]
     ]
]


Regards,

     Ashley

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to