Could someone write an example program that opens up firefox? I would really like to see the syntax to do that.
Thanks
Could someone write an example program that opens up firefox? I would really like to see the syntax to do that.
Thanks
system("start http://www.google.com");
or system("C:\\Program Files\\Mozilla Firefox\\firefox.exe");
Could someone write an example program that opens up firefox? I would really like to see the syntax to do that.
Thanks
Check out this recent thread too.
Try, system ( "start firefox" ) ;
Alright thanks guys and what is the command to make the dos window hide?
"Hide the dos window" - is it possible? I don't know.
If you want to close the dos window right after opening Firefox then a simple return 0 following system() should work.
Others answers are wrong.
Never use System() on Win32 (creates another PAS)
Use Shell apis.
Others answers are wrong.
Never use System() on Win32 (creates another PAS)
Use Shell apis.
ShodoNinja never said it is a Win32 program
system ( "start firefox" ) ; doesnt work under linux
is there an alternative?
----------------------------------
never mind.. linux doesnt need start
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.