Thanks, looks like your found the right function. I haven't used it, so I forgot about its existance.
>I just found a function called ANETRESOURCES(). I was able to see the shared folders through this. I did a test as follows:
>
>1st PARAM-aShares is the new array which FoxPro creates.
>2nd PARAM-"\\freedom" is the name of my PC.
>3rd PARAM-1 represents names of shares which are returned if this option is used.
>
>
>ANETRESOURCES(aShares, "\\freedom", 1)
>
>
>I'll now look at the messages you referenced.
>
>Thanks Naomi,
>
If it's not broken, fix it until it is.
My Blog