By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,238 Members | 1,771 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,238 IT Pros & Developers. It's quick & easy.

System.Diagnostics.Process.Start (in Network drive)

P: n/a
I am using the code below to map network drive and then fire up an app
in a sub dir of that drive. However when using the file open dialog
from that app, drive K: appears just as Network drive K: (this could
confuse users) rather than showing the path it is mapped to like in
Using a batch file to execute these commands works great. Any ideas?
System.Diagnostics.Process.Start("net.exe", "use K:
System.Diagnostics.ProcessStartInfo psi =
new System.Diagnostics.ProcessStartInfo();
psi.FileName = "C:\\WDesign\\WDesign.exe";
psi.WorkingDirectory = "K:\\Training\\WDesign";
psi.WindowStyle = System.Diagnostics.
System.Diagnostics.Process p =
Thanks in advance

Sep 11 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.