Solved

Console Application, How to map a drive using C# ?

Posted on 2013-01-03
5
645 Views
Last Modified: 2013-01-04
Hello,

I need to map a drive Z: using C#, the remote path is \\computername\c$

Thanks,
0
Comment
Question by:namerg
  • 3
  • 2
5 Comments
 
LVL 16

Accepted Solution

by:
Imran Javed Zia earned 500 total points
Comment Utility
Hi,

Please follow the url for more details:

http://blog.tutorem.com/post/2011/01/19/C-Map-Network-Drive.aspx

http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/thread/ccb2b7c4-888e-4896-9633-84b56b7cde2e/

you can also use the following but just use it in console application and ignore the UI related items.

http://www.codeproject.com/Articles/6847/Map-Network-Drive-API

Thanks
0
 

Author Comment

by:namerg
Comment Utility
By the way, I am a beginner with C#. I will take a look into those links.
0
 

Author Comment

by:namerg
Comment Utility
ohh man, I am lost on this one. :(
0
 

Author Comment

by:namerg
Comment Utility
I've requested that this question be deleted for the following reason:

I do not want to pursue my project in C#.
0
 
LVL 16

Expert Comment

by:Imran Javed Zia
Comment Utility
Hi,

I think, I have answer the question and it has proper solution. If there is any objection on provided solution then it is ok, otherwise this answer deserves to be maked as ansered.

Thanks
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now