For my company, I wrote an application that includes a function called FileExecute, which takes file path parameter lpFile, calls the open command with the ShellExecuteEx function and returns the Process handle:
Ex: ?FileExecute("C:\MyFolder\MyFile.txt")
...opens up the file with the...