>Hi,
> I also try to use DISKSPACE(). It returns immediately if the drive is exist. It will "hang" about 10 secs if the drive is not exist or the network drive is not connected. It is same return if i use FILE() .
>
>Any ideas?
>
>Thank you
Just type at the VFP commandwindow:
?DISKSPACE("\\NOSERVER\C\NODISKDRIVE")
How long did it take to return -1. On my computer it was immediately.
Now type
?FILE("\\NOSERVER\C\NODISKDRIVE\nofile.txt")
How long did THAT take?
On my computer connected to a novell network, DISKSPACE returns in .001 second
FILE() returns in 2 to 5 seconds.
You decide.