Solved

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

Posted on 2013-01-03
5
667 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
ID: 38740954
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
ID: 38740964
By the way, I am a beginner with C#. I will take a look into those links.
0
 

Author Comment

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

Author Comment

by:namerg
ID: 38743121
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
ID: 38743122
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Upgrading my SSIS package in VS 2012 6 83
C#.net split string and then check appropriate checkboxlist 4 43
C# XML Get Values 4 33
ModalPopup  question 22 37
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

685 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