How to test for a valid mapped drive
Posted on 2002-05-14
I have an applicaiton that relys on connectivity via mapped
drives to about 5 PC's.
Could you show me the code that would test those
connections to see if they are "live"?
Please note, the code cannot just detect the
existance of a mapped drive, because even if
they log off or shut the PC down, my app's PC could
still be mapped.
I need to know if the mapped drive is still valid.
Example code please ?