Click here to Skip to main content
15,741,215 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
pls help us
We have built an intranet web-application (that is only used inside the company - so security issues do not matter!). We have several situations, where we have a link in a web-application that should access a local directory on the local file system. When clicking on the link a windows explorer instance should open with given a directory open.
Updated 23-Jul-14 22:52pm

1 solution

It won't work.

C# code runs on the Server, not the Client and so any Processes you start with C# will run on teh Server where the user cannot see them.

You cannot run applications on the client from C# code except in exceptional circumstances which do not occur in well over 99% of cases. This is by design,. and for security reasons: if you copuld do it, so could "malicious" sites.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900