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

Posted on 2013-01-03
Last Modified: 2013-01-04

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

Question by:namerg
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 16

Accepted Solution

Imran Javed Zia earned 500 total points
ID: 38740954

Please follow the url for more details:

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


Author Comment

ID: 38740964
By the way, I am a beginner with C#. I will take a look into those links.

Author Comment

ID: 38741001
ohh man, I am lost on this one. :(

Author Comment

ID: 38743121
I've requested that this question be deleted for the following reason:

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

Expert Comment

by:Imran Javed Zia
ID: 38743122

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.


Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

632 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