Calling Explorer from ASPX WebForm Link Button
<p>I have a link button on my aspx webform page. When the user clicks on the link, I want to open the Windows explorer on the client PC and open a folder and view the directory. It will take a folderpath as in \Machinename\C$\WINNT\ThisFolder and pass it to the Explorer. The code works when I developed with Visual Studio on my client machine. When I deployed it on the server and called the webform from my client PC, it does not do anything. the webpage only flickers once when I click on the link button. Does the asp.net application need permission or am I missing another step? Any help is great appreciated.</p>

<pre><code>ProcessStartInfo processStartInfo = new ProcessStartInfo();
processStartInfo.FileName = "explorer";
processStartInfo.UseShellExecute = true;
processStartInfo.WindowStyle = ProcessWindowStyle.Normal;
processStartInfo.Arguments = string.Format("/select,\"{0}\"", folderpath);
Process.Start(processStartInfo);
</code></pre>
