i need a simple way to put a shortcut on a desktop that when clicked opens windows explorer to a network (\mynetwork) and authenticates. it sounds like it would be easy – a c# console app – but I am not sure where to start with this.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I ended up adding the login info to the cred manager using this:
http://code.msdn.microsoft.com/CSRunProcessAsUser-e4b10d6f/sourcecode?fileId=23561&pathId=1786330904
and running explorer.exe using process.start and supplying the \networkaddress
as args to the processinfo for process.start