Hi,

I have a problem when trying to determine if some remote networkdirectories are available.
It's a file transporting system that moves files from one serverdir to another when they're available.

I check for files using the Dir command, i.e. if dir("\\appl1\files\down\*.*).
If the dir is empty there is no problem, however if the connection is temporary lost, I get a file/path error in the dir statement.
I'd like to give a message stating 'connection not available', but I can't capture the error so that I know what the problem is.

Anyone know how to check if '\\appl1\' is available?
I can't use drivemapping unfortunately.

Thanx,

Braniac.