Michael,
You really should look at the Power Plugins for this. The options for listing, filtering and capturing filename, extension, etc. are too many to list. And there are examples that show you how to do it all and you can cut copy & paste into your code and be running in minutes. Paul From: [email protected] [mailto:[email protected]] On Behalf Of Michael J. Sinclair Sent: Monday, January 16, 2012 3:28 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: The DIR command If I use that method, how could I capture the output and put that list of files into a file? Mike --- On Mon, 1/16/12, Dan Goldberg <[email protected]> wrote: From: Dan Goldberg <[email protected]> Subject: [RBASE-L] - Re: The DIR command To: "RBASE-L Mailing List" <[email protected]> Date: Monday, January 16, 2012, 2:48 PM Just use the database explorer and click on the column you want to sort by. It works good for reports and forms too. Dan Goldberg From: Michael J. Sinclair <http://us.mc1807.mail.yahoo.com/mc/[email protected]> Sent: Monday, January 16, 2012 11:41 AM To: RBASE-L Mailing List <http://us.mc1807.mail.yahoo.com/mc/[email protected]> Subject: [RBASE-L] - The DIR command Hi All, Is there a way to use the DIR command from within Rbase 9.1 similar to the way it used from a command prompt? For example, from a command prompt, I can type... DIR /O:d or DIR /O:-d and the output will sort the filenames by date, oldest to newest or newest to oldest. Can that be done from with Rbase 9.1? Mike

