467,176 Members | 1,378 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,176 developers. It's quick & easy.

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

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
  • viewed: 3362

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by toby | last post: by
3 posts views Thread by Bali | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.