Michael,

You can try something like this:

ZIP CMD.EXE /c DIR \\sharename\foldername\*.TIF /o-d > mydiroutput.txt


cmd.exe is the "shell", the command prompt.
/c tells it to run, then exit the command prompt
Then comes your DIR command
Then comes an output redirection operator ">"
Then comes the name of the file where you want the output.

Then R:BASE can "type" the file, or load it as a fixed-width file into a
temporary table.

A warning though: If all the computers that run this application are not
running the same versions of Windows, there may be slight differences in
the positions of the details in the DIR listing.

Bill

On Mon, Jan 16, 2012 at 2:41 PM, Michael J. Sinclair <[email protected]>wrote:

> 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?
>
>

Reply via email to