Rainer
20th December 2004, 14:32
Dear all

From a baan script I want to read the most actual file on a certain ux-directory. Is there a way to reorg the files within this ux-directory after the date and time from the script?

Kind regards and thanks for any hint.
Rainer

günther
20th December 2004, 14:48
Hi Rainer,

an easy way could be:
* create a temp file in baan
* call a shell with "ls -1t > your temp file" (here: -1 = one)
* open that temp file, 1st line is the latest file

From a unix shell, a "ls -lt" (here: -l = long) could show you the seqence.

Günther