Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 748
  • Last Modified:

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

Hello,

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

Thanks,
0
namerg
Asked:
namerg
  • 3
  • 2
1 Solution
 
Imran Javed ZiaConsultant Software Engineer - .NET ArchitectCommented:
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
 
namergSystems AdministratorAuthor Commented:
By the way, I am a beginner with C#. I will take a look into those links.
0
 
namergSystems AdministratorAuthor Commented:
ohh man, I am lost on this one. :(
0
 
namergSystems AdministratorAuthor Commented:
I've requested that this question be deleted for the following reason:

I do not want to pursue my project in C#.
0
 
Imran Javed ZiaConsultant Software Engineer - .NET ArchitectCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now