From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW for Mapping of Network Drives with Error Handling

Is there a way to do the following easily in LabVIEW?

- List drive letters and network paths of existing mapped drives on host PC
- Check if a desired mapped drive is connected and if its disconnected reconnect to it
- Receive related errors that may occur during attempting a connection to a mapped drive (i.e. path cannot be found, etc...)

I know how to do most of this in VBScript but I'd like to avoid having ANY code for the work I'm doing be "non-G"!

Thanks for your time!
0 Kudos
Message 1 of 2
(3,032 Views)
Hello Ray,
You may want to take a look at the following Knowledgbase articles on NI.com

How Does LabVIEW Find Which Disk Drives Are in My Computer?
http://digital.ni.com/public.nsf/websearch/9DFF8F1788A7171A86256D10003776C0?OpenDocument

How Can I Programmatically Map a Network Drive in LabVIEW on a Windows 2000/XP Machine?
http://digital.ni.com/public.nsf/websearch/313C5E597B48652F86256D2700674EDB?OpenDocument

Best Regards,
Chris J
Message 2 of 2
(3,015 Views)