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



Edited by Arend_ (2017-12-13 11:15 AM)
Edit Reason: Please use code tags