Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Why does batch file wait before it runs next cmnd?  (Read 2864 times)

0 Members and 1 Guest are viewing this topic.

dd22qq

  • Guest
Why does batch file wait before it runs next cmnd?
« on: May 09, 2005, 07:08:37 PM »
Have created a very simple batch file thus:

"c:\program files\internet explorer\iexplore.exe" http://www.google.com
"c:\program files\internet explorer\iexplore.exe" http://www.hotmail.com

What I wish to occur is for 2 browser windows to open in immediate succession (effectively, simultaneously). However before it will open the second webpage, the first webpage has to be closed.

1. Why is this?
2. Is there any way around this to make it do what I require?

Thanks for any help given :)

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: Why does batch file wait before it runs next c
« Reply #1 on: May 10, 2005, 06:51:39 AM »
Try changing your batch file to:

start "c:\program files\internet explorer\iexplore.exe" http://www.google.com

start "c:\program files\internet explorer\iexplore.exe" http://www.hotmail.com

8)
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein

dd22qq

  • Guest
Re: Why does batch file wait before it runs next c
« Reply #2 on: May 10, 2005, 06:04:47 PM »
Hi, thanks. Finally worked it out with someone else's help.
For those interested:

start "" "c:\program files\internet explorer\iexplore.exe" http://www.google.com
start "" "c:\program files\internet explorer\iexplore.exe" http://www.hotmail.com