or simply see the manual for dir()
Code:

$=dir("e:\data")
do
$ ?
$=dir()
until $=""

_________________________
!

download KiXnet