xempa333
(Just in Town)
2017-12-12 10:45 PM
detect disconnected drive mappings

Hi is there a way to detect if a mapped drive is disconnected e.g. red X.
What I am hoping to achieve is that if Z: drive is disconnected then it will immediately proceed to doing something else.

I'm trying to avoid the wait time to determine if z drive is disconnected or not.

I hope this makes sense ?
Any help on this would be greatly appreciated
 Code:
if exist('Z:')
  ? "Z: drive exists"
Exit
else
? "Z: drive doesn't exist"
? "then do other stuff here"
end if



xempa333
(Just in Town)
2017-12-13 01:05 AM
Re: detect disconnected drive mappings

All figured out thanks-