Reputation: 918
How do I programmatically open a file in its default program (I'm using Windows XP).
For example, opening *.txt will open the file in notepad.
Upvotes: 4
Views: 1276
Reputation: 4527
the function ShellExecute
Has been provided for this.
Upvotes: 8