starting a file or url

Using the "start" command in a dos session in Windows95 you can start files or urls (http://...). I want to do exactly that from MS C++. But how?
holzAsked:
Who is Participating?
 
nietodConnect With a Mentor Commented:
Try ShellExecute() or ShellExecuteEx().
0
 
nietodCommented:
These commands allow you to open, print, or explore a specified document file.  What you want to do is open the file.  The command may fail if windows cannot figure out what application to associate with the file (based on the file's extension.)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.