|
From: carlos D. M. <cg...@wo...> - 2002-02-27 17:05:53
|
The line
system("app.exe");
will run the program app.exe.
For opening the help.html when pressing H type:
if(*******=='H')
system("start harddisk:/fullpath/help.html");
Till now I don't achieve to do it with filenames which use spaces. It must be
done as with the command prompt, cmd.exe, but I try everything and nothing
works
Gareth escribió:
> This is my 1st post on the mailing list so don't shout at me if it all goes
> wrong !!
>
> I just want to know I can open a .html or .doc file etc from within my C
> programme from an option screen where the user types for example H for help
> which will then launch my help.htm page.
>
> I want to do this in either C or C++ but can't find any code that allows me
> to run other applications from options in my prog.
>
> Thanx in advance.
> Gaz.
>
> -----------------------------------------------------------------
> Web: www.DjGaz.cjb.net
> BT Mobile: 07713291858
> ICQ: 60074512
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|