I'm trying to get a list of all my mapped drives for a system upgrade and would like to get this info via a batch file. How can I do this?
For Bonus points:
How can I script the mapping of these drives on the new server?
...
Hi,
I'm trying to map a drive using WNetAddCOnnection2 but there's something not quite right. The code that I am using from pinvoke.net and seems to work at first. If I am stepping through the code I get a 0 for a response and I am able to use System.IO.Directory.GetFiles() to inspect the new mapped drive which leads me to believe tha...