I created a small, pure Win32 based program called Run From Clipboard++ which executes whatever you have in your clipboard. The idea seems simple but it has proven invaluable to me because at work I get a lot of links, many times these links to documents and websites in emails that are not really links. I have to copy and paste those in the run dialog box, a lot of the times these links are broken into multiple lines so I have to open notepad2 first make it into one line and then run it. So, this programs attempts to streamline this process, in that it tries to execute the clipboard content as is, and if that it unsuccessful then it tries to execute it by removing any newlines, and if still it is unsuccessful then it pops up the following dialog box to allow the user for any changes.
ShellExecuteEx
This entry was published on Wednesday, October 10, 2007