javascript - batch file to open multiple URLs - Stack Overflow

I want to multiple URLs in internet explorer in the same window, but new tabs.I have a list of about 6

I want to multiple URLs in internet explorer in the same window, but new tabs.

I have a list of about 6 URLs that I use daily, and I want to create a single batch file to open them all.

Also, if there is a way to do this using JS that would be great.

I want to multiple URLs in internet explorer in the same window, but new tabs.

I have a list of about 6 URLs that I use daily, and I want to create a single batch file to open them all.

Also, if there is a way to do this using JS that would be great.

Share Improve this question asked Apr 4, 2011 at 5:59 sikassikas 5,53328 gold badges78 silver badges123 bronze badges 3
  • 2 So what have you written so far? What is the problem with your code? Can you post use the batch file you have written, that does not work, so we can see what the problem is and help you correct it? – mdm Commented Apr 4, 2011 at 6:07
  • I've seen (and answered) this exact question before, I think. – Joey Commented Apr 4, 2011 at 6:29
  • 1 Related (or duplicate): Windows console mand to open multiple pages in Internet Explorer 7, How to launch multiple Internet Explorer windows/tabs from batch file?, Script to automate URL opening in multiple tabs in Firefox or Opera from a text file. – Helen Commented Apr 4, 2011 at 8:52
Add a ment  | 

2 Answers 2

Reset to default 2

Pretty simple:

start "" "http://bing."
start "" "http://stackoverflow./questions/5535049/batch-file-to-open-multiple-urls"
...

I had a similar problem and came up with the following code. I wanted to obtain basic movie information for use in creating a DVD case outer jacket. I wanted to review rottentomatoes and imdb ratings as well as google movie images. That would be 3 urls using tabs in explorer launched from the win7 mand line. The batch file would be run using, for example

showmovieinfo The Hunger Games

@ECHO OFF
REM BRING UP REFERENCE MATERIAL FOR THE SUPPLIED MOVIE TITLE
IF "%1"=="" GOTO Done
SET showmovieinfo=%1
:Test
SHIFT
IF "%1"=="" GOTO Done
SET showmovieinfo=%showmovieinfo%+
FOR %%F IN (%1) DO SET showmovieinfo=%showmovieinfo%%%F
GOTO Test
:Done
SET E1=start /d explorer.exe http://www.rottentomatoes./search/?search=%showmovieinfo%
SET E2=start /d explorer.exe http://www.imdb./find?q=%showmovieinfo%
SET E3=start /d explorer.exe http://www.google./search?num=10"&"hl=en"&"q=FILM+%showmovieinfo%"&"um=1"&"ie=UTF-8"&"tbm=isch
%E1%
%E2%
%E3%

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744718085a4589742.html

相关推荐

  • javascript - batch file to open multiple URLs - Stack Overflow

    I want to multiple URLs in internet explorer in the same window, but new tabs.I have a list of about 6

    16小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信