Here is a little bit of code I use...

SRCH ; search directory
 ;
 S X=$ZSEARCH(IO)
 I X="" Q
 S ^zdir($J,I)=X
 F I=I+1:1 S X=$ZSEARCH("") Q:X=""  S ^zdir($J,I)=X
 Q

where IO is set to a complete directory path such as

 S IO="//SYSTEMNAME/TEMP//*.TXT" D SRCH

Hope that helps...


Mike Minor
Z-Code Systems, Inc.
[EMAIL PROTECTED]
Phone: 407-656-4990
Fax: 407-656-5875

"Christian Ditters" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hello,
> does anybody know how to store a windows directory list in a global or
> variable written in ObjectScript (windows/cache 5.0.4)  ?
>
> thank you for any idea
> christian
>
>



Reply via email to