I wonder what the "official" way is of running a application shortcut from within another application.
Like this:
string program = "application.exe";
Process.Start(program);
This won't work if application.exe is a shortcut.
The reason being, of course, that the actual filename of the application is appication.exe.lnk. Now Windows Explorer won't show the .lnk part (even when you have "Hide extensions for known filetypes" unchecked) while it does show when you do dir in a DOS box.
So what I came up with was this
string program = "application.exe";
if (!File.Exists(program)) program += ".lnk";
Process.Start(program);
but I keep wondering if there's a better way. This sounds... patchy. But my searches have come up empty. Nothing but explanations on how to create shortcuts and stuff.