Reputation:
Why the api Process.Start fails if it is called from a mapped drive. Steps to do create a project which calls Process.Start()
on a simple exe. Map this folder as another drive letter access the same launching application via the mapped drive. When it is accessed via mapped drive it fails with an error message System can not find the path specified. Why is it so?
Upvotes: 1
Views: 1461
Reputation: 564323
When you run a program from a network (mapped) drive, it's run in a different security context (Intranet zone vs. local zone). This changes the permissions, including the ability to potentially find the application.
Upvotes: 2