Batch file question

  • Thread starter Thread starter SamScott
  • Start date Start date
S

SamScott

Hi, I made a simple batch file (very new to this) in which I want to open
two sites through Internet explorer. The second window will not open until I
manually close the first window. The file reads like this:

start https://manage1.sprintpcs.com/Manage
start http://www.nytimes.com
cls

Like I said, it will open the second link only after I close the first. The
same thing happens with 2 Excel files I try to open.
Thanks a lot for any help.
 
Sam,

This won't fix your batch file but try the Mozilla browser. One of its
nicest features is that you can save, and therefore, open multiple pages
all at once.

I often save three or four "pages" at a site, then save the "group" of
pages as a bookmark group. Next time I go there I hit that bookmark
(favorite in IE) it opens all four pages in a flash!

Very nice! .... and very secure too!

Fred
 
Thanks for the response. I'm actually trying to open a few different items,
I just figured I would simplify the question. It seems that files of the
same type won't open until the original is closed first. Thanks anyway.
 
Hi, I've got IE set to open in different windows. Like I said it happens
with 2 Excel files also. Thank you for the reply.
 
i am no batch file expert, but i think that is the nature/design of
batch file operation. until the current line terminates or is
terminated, then the next line will not run. sort of like a computer
program. if subsequent lines started running, before the current line
finished, there would be no control, and control statements would be
useless.

i know this solution does not use a batch file, but the desired result
could be achieved with your Startup folder. My startup folder launches
5 different programs, all without waiting for any to close.
 
Perfect. Thank you. I would like to ask one more favor. I have added this
line:

"C:\Documents and Settings\Sam\Desktop\mystuff\bus\DailyHours.xls"

It shows the same behavior, it will open fine but will not allow the the IE
pages to start until it is closed. Thanks again for your help and I will try
not to bother you anymore.
 
Torgeir

Thanks for that.. who would have thought that just inserting the program to
be started could have such a dramatic effect.. :) even with the small amount
of programming that I did, I really should have seen that.. embarrassment
city.. oh my.. :))))))
 
Thank you. How stupid of me. I now realize for my last question I just had
to do the same thing with excel as IE, start the program first. Thanks so
muck to Torgeir and Mike
 
On 1/11/2005 12:10 PM On a whim, JW pounded out on the keyboard
i am no batch file expert, but i think that is the nature/design of
batch file operation. until the current line terminates or is
terminated, then the next line will not run. sort of like a computer
program. if subsequent lines started running, before the current line
finished, there would be no control, and control statements would be
useless.

i know this solution does not use a batch file, but the desired result
could be achieved with your Startup folder. My startup folder launches
5 different programs, all without waiting for any to close.

Actually using Start from a command window has a parameter "WAIT" for
what you are describing. Type start /? from a command window and you'll
see all the options.


--
Terry

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
SamScott said:
Thank you. How stupid of me. I now realize for my last question I just had
to do the same thing with excel as IE, start the program first. Thanks so
muck to Torgeir and Mike
Hi

Your welcome :-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top