tags:

views:

71

answers:

1

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.

+7  A: 

the function ShellExecute

Has been provided for this.

sum1stolemyname
perfect, thanks
Tom