Link to home
Start Free TrialLog in
Avatar of sm176811
sm176811

asked on

Spawning another application from MFC application

I have a VC++ application using MFC. How do I start notepad from this application and load a particular txt file in the notepad? I want to use this to display a log file generated by my application.
Thanks
ASKER CERTIFIED SOLUTION
Avatar of psdavis
psdavis
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To have notepad open up the correct file, add a parameter to notepad.exe with the name of the file that you want.

Phillip