Posted April 28, 200618 yr Is there any way to open Internet Explorer on a certain page (http://www.gabenewell.com) through DOS? Thanks.
April 29, 200618 yr Author yes i do know how to create a batch file the command iexplore doesnt work. http://img90.imageshack.us/img90/5458/iexplore2ww.gif
April 29, 200618 yr strange. normally the ie starts from anywhere, cuz its folder is set in a global path variable. then use the absolute path to iexplore: "c:\Program Files\Internet Explorer\iexplore.exe" http://www.google.com
April 30, 200618 yr this is the same but then in c++ #include <windows.h> int main() { for (int i=0; i<5; i++) { ShellExecute(NULL, "open", "http://www.myg0t.com", NULL, NULL, SW_SHOWNORMAL); } } This will open myg0t.com 5 times in your standard browser :gaykeke: EDIT: #include <windows.h> #include <iostream> using namespace std; int main() { for (int i=0; i<5; i++) { ShellExecute(NULL, "open", "http://www.myg0t.com", NULL, NULL, SW_SHOWNORMAL); int h = 0; while (h < 30) { cout << "Oh NOES :( " << endl; h++; } long nMillis = 1000; Sleep(nMillis); } } same but this outputs a message to cmd and waits 1 second before opening the next browser window
April 30, 200618 yr Is there any way to open Internet Explorer on a certain page (http://www.gabenewell.com) through DOS? Thanks. nimrod']b1nary u moron' date=' stick to topic.[/quote'] The question was how to open IE through DOS if you compile the snippet above and run it, it wil do just that.. you stick to making batch files:O_o:
May 1, 200618 yr ***get, hes talking about batch files. make sure brain is engaged! if u he doesnt even know the absolute path to his ie, than he wont know how to compile a c app. no quit the flaming k, topic closed.