Solved

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

Posted on 2013-01-03
5
658 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

803 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