Jump to content

Featured Replies

  • Author

yes i do know how to create a batch file

 

the command iexplore doesnt work.

 

http://img90.imageshack.us/img90/5458/iexplore2ww.gif

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

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:

***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.
Guest
This topic is now closed to further replies.