I got a web site with a link called 'Open Trim' which should open an application on local PC called Trim.exe. When I run the website on my local PC it works fine. I click the link 'Open Trim' and the Trim.exe application opens. But, when I upload the same code to the Windows 2003 server the link doesn't do anything.
I have seen in github.com website where you could open a GitHub desktop application by clicking the link 'Clone in Desktop'. I am trying to achieve similar feature with my website and Trim.exe.

I am using the following code.
var p = new Process { StartInfo = { UseShellExecute = false, RedirectStandardOutput = true, FileName = path + openTrimBatchFileName } }; p.Start(); p.StandardOutput.ReadToEnd(); p.StartInfo.CreateNoWindow = true; p.WaitForExit(); Reference: how run exe file in c#
Clone in Desktopworks by the desktop app installing a URL handler. The browser doesn't run arbitrary code on the client computer, it just hands the URL over to an already installed app.