[Solved] opening Internet Explorer using c programming language


I guess you have specified the path to Internet Explorer like this

"C:\Program Files\Internet Explorer\iexplore.exe"

But because the \ character is an “escape” character in a literal string, you need to defeat the escape

"C:\\Program Files\\Internet Explorer\\iexplore.exe"

There was no error when you compiled because the compiler cannot check whether the command passed to system() will be meaningful, or valid at runtime.

solved opening Internet Explorer using c programming language