General discussion is probably fine for this, as it's more of a programming question than support issue

.
I understand what you're trying to do, but I don't know the programming knowledge to create the code. I can suggest a few thing that may help though
First, you can use the following code to allow input of a domain:
Code:
SET /P PINGDOMAIN=Enter Domain:
Next you'll need to figure out a way to capture the IP of a domain that you enter in to the script. I guess using ping would be the easiest. You can then output the full result to a temp file:
Quote:
|
ping %PINGDOMAIN% > temp.txt
|
Then you'll need to capture the IP as a variable, using something like
this and
this to search through the temp.txt file and allow you to use the IP in the batch file. This is a little complicated the first time you use the command, but it's very logical to figure out - I'm sure there are some experts here that will know an easier way of captureing the IP.
Once you've got the IP stored as a variable, you can then just launch IE as follows (assuming %IPADDRESS% is your variable name):
Quote:
|
C:\Program Files\Internet Explorer\iexplore.exe %IPADDRESS%
|