This may be broken by very long input, for
reasons recently discussed on this list.
Remove the = signs from the lines
local shellcmd = `"dir `anything' > `dirlist'"'
local shellcmd = `"ls -lkT `anything' > `dirlist'"'
They don't serve any useful function here.
Nick
[email protected]
Morten Andersen
>
> I have made a general ado-file for this: dirlist.ado. It
> produces a directory list and puts the result into return
> macros. Ado-file and hlp-file below. Actually it is part of
> a collection of ado-files which I hope to submit to the SSC
> archives.
>
> It has been tested in Mac OS X and Windows XP. There could
> be some problems with layout of dir output, however. Please
> report such problems to me.
>
dirlist.ado--------------------------------------------
<<attachment: winmail.dat>>