471,328 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,328 software developers and data experts.

Map a Drive Programmatically

From a console app, I'd like to map a drive from one Win2K3 server to
another. I'm familiar with the [Net Use...] command line syntax, and I can
put it in a batch file and call the batch file from the console app. That
will work - but I was wondering if I could do it all in my C# code (i.e.,
without having to call a separate batch file).

Thanks!
Jul 21 '05 #1
1 3028
Verde,

Check this out - http://www.codeproject.com/csharp/mapnetdrive.asp

Hope this will work for you.

Best wishes,

Philip.

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Robert Tarantino | last post: by
4 posts views Thread by GregT | last post: by
8 posts views Thread by dantan98 | last post: by
1 post views Thread by Sony Kalkan | last post: by
4 posts views Thread by vbshanes | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.