Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Computer Support > BAT file pauses

Reply
Thread Tools

BAT file pauses

 
 
jowl
Guest
Posts: n/a
 
      07-06-2003
Is there a way to pause at the end of each line in a BAT file? I have this
BAT file that I want to open 30 Internet Explorer windows simultaneously to
30 different sites, but it runs so fast that only the last two windows open.

Thanks


 
Reply With Quote
 
 
 
 
°Mike°
Guest
Posts: n/a
 
      07-06-2003
WTF! Why on earth do you want to open 30 windows at once?


On Sun, 6 Jul 2003 12:03:52 -0400, in
<JLXNa.13821$1a6.11492@lakeread01>
jowl scrawled:

>Is there a way to pause at the end of each line in a BAT file? I have this
>BAT file that I want to open 30 Internet Explorer windows simultaneously to
>30 different sites, but it runs so fast that only the last two windows open.
>
>Thanks
>


--
Basic computer maintenance
http://uk.geocities.com/personel44/maintenance.html
 
Reply With Quote
 
°Mike°
Guest
Posts: n/a
 
      07-06-2003
Please explain why you want to open 30 windows simultaneously.


On Sun, 6 Jul 2003 12:16:31 -0400, in
<BXXNa.13826$1a6.5450@lakeread01>
jowl scrawled:

>I don't want to hit a key. That defeats the whole purpose of the BAT file.
>I just want it to pause for around 2 or 3 seconds.
>
>Thanks
>
>"Cicero" <s?e?d*a?*@hellfire.co.uk> wrote in message
>news:lWXNa.3511$...
>>
>> "jowl" <> wrote in message
>> news:JLXNa.13821$1a6.11492@lakeread01...
>> > Is there a way to pause at the end of each line in a BAT file? I have

>> this
>> > BAT file that I want to open 30 Internet Explorer windows simultaneously

>> to
>> > 30 different sites, but it runs so fast that only the last two windows

>> open.
>> >
>> > Thanks
>> >
>> >

>> ===========
>> I think this is what you want.
>>
>> Use the 'pause' command wherever you want your batch file to delay. Use as

>a
>> single command on a separate line thus:
>>
>> dir c:\
>> pause
>> cls
>> pause
>> dir a:\
>>
>> When your batch file meets this command it pauses and asks the user to

>press
>> a key to continue.
>>
>> Cic
>>
>>

>


--
Basic computer maintenance
http://uk.geocities.com/personel44/maintenance.html
 
Reply With Quote
 
jowl
Guest
Posts: n/a
 
      07-06-2003
no.

"°Mike°" <> wrote in message
news:...
> Please explain why you want to open 30 windows simultaneously.
>
>
> On Sun, 6 Jul 2003 12:16:31 -0400, in
> <BXXNa.13826$1a6.5450@lakeread01>
> jowl scrawled:
>
> >I don't want to hit a key. That defeats the whole purpose of the BAT

file.
> >I just want it to pause for around 2 or 3 seconds.
> >
> >Thanks
> >
> >"Cicero" <s?e?d*a?*@hellfire.co.uk> wrote in message
> >news:lWXNa.3511$...
> >>
> >> "jowl" <> wrote in message
> >> news:JLXNa.13821$1a6.11492@lakeread01...
> >> > Is there a way to pause at the end of each line in a BAT file? I

have
> >> this
> >> > BAT file that I want to open 30 Internet Explorer windows

simultaneously
> >> to
> >> > 30 different sites, but it runs so fast that only the last two

windows
> >> open.
> >> >
> >> > Thanks
> >> >
> >> >
> >> ===========
> >> I think this is what you want.
> >>
> >> Use the 'pause' command wherever you want your batch file to delay. Use

as
> >a
> >> single command on a separate line thus:
> >>
> >> dir c:\
> >> pause
> >> cls
> >> pause
> >> dir a:\
> >>
> >> When your batch file meets this command it pauses and asks the user to

> >press
> >> a key to continue.
> >>
> >> Cic
> >>
> >>

> >

>
> --
> Basic computer maintenance
> http://uk.geocities.com/personel44/maintenance.html



 
Reply With Quote
 
Brian H¹©
Guest
Posts: n/a
 
      07-06-2003
X-No-Archive: Yes
Errrrr...erm... jowl said:

> I don't want to hit a key. That defeats the whole purpose of the BAT file.
> I just want it to pause for around 2 or 3 seconds.
>
> Thanks


Then ask if there is a wait command, not a pause command.

>
> "Cicero" <s?e?d*a?*@hellfire.co.uk> wrote in message
> news:lWXNa.3511$...
>>
>> "jowl" <> wrote in message
>> news:JLXNa.13821$1a6.11492@lakeread01...
>>> Is there a way to pause at the end of each line in a BAT file? I have this
>>> BAT file that I want to open 30 Internet Explorer windows simultaneously to
>>> 30 different sites, but it runs so fast that only the last two windows open.
>>>
>>> Thanks
>>>
>>>

>> ===========
>> I think this is what you want.
>>
>> Use the 'pause' command wherever you want your batch file to delay. Use as a
>> single command on a separate line thus:
>>
>> dir c:\
>> pause
>> cls
>> pause
>> dir a:\
>>
>> When your batch file meets this command it pauses and asks the user to press
>> a key to continue.
>>
>> Cic



--
www.absey-vine.co.uk/
freeware, helpdesk, ad-aware


 
Reply With Quote
 
Steve Foley
Guest
Posts: n/a
 
      07-06-2003
Why not open a window, copy a large file, open another window, etc. etc.

The other thing you need to check is if it works doing it by hand, or if the
command you use to open the window will actually open a third one.



"jowl" <> wrote in message
news:JLXNa.13821$1a6.11492@lakeread01...
> Is there a way to pause at the end of each line in a BAT file? I have

this
> BAT file that I want to open 30 Internet Explorer windows simultaneously

to
> 30 different sites, but it runs so fast that only the last two windows

open.
>
> Thanks
>
>



 
Reply With Quote
 
Ralph Wade Phillips
Guest
Posts: n/a
 
      07-06-2003
Howdy!

"jowl" <> wrote in message
news:BXXNa.13826$1a6.5450@lakeread01...
> I don't want to hit a key. That defeats the whole purpose of the BAT

file.
> I just want it to pause for around 2 or 3 seconds.


Depending on your version of Windows, you might need to find the
PROMPT command.

But if it's there, you can use

CHOICE Press any key /T:2,Y /C:YN

which will wait for two seconds, then act like you pressed the 'Y'
key.

RwP


 
Reply With Quote
 
WK
Guest
Posts: n/a
 
      07-06-2003
Hi,

I once made a small executeble (wait.exe) that pauses the execution in your
batch file. The syntax is:
wait <time in msec>
so
"wait 5000" in your batchfile pauses 5 seconds.

Maybe this will help you. I've mailed you the zipped file (8 kB).

Bye,

Wim van der Kooij
Netherlands


"jowl" <> schreef in bericht
news:JLXNa.13821$1a6.11492@lakeread01...
> Is there a way to pause at the end of each line in a BAT file? I have

this
> BAT file that I want to open 30 Internet Explorer windows simultaneously

to
> 30 different sites, but it runs so fast that only the last two windows

open.
>
> Thanks
>
>



 
Reply With Quote
 
Slumpy
Guest
Posts: n/a
 
      07-06-2003
"So, Mr Slumpy you *really* are the perpetual comedian, aren't you ?" I
threw back my head and roared with laughter as °Mike° continued:

> Fine, then since I suspect mischief, I won't give you the answer.


Reading the thread, I can fully understand why you feel that way - it is
exactly what I was thinking.

"The shifty guy in the corner looks like he's up to no good."
--
slumpy
no more
no less
just slumpy

>
> On Sun, 6 Jul 2003 12:27:55 -0400, in
> <h6YNa.13832$1a6.10201@lakeread01>
> jowl scrawled:
>
>> no.
>>
>> "°Mike°" <> wrote in message
>> news:...
>>> Please explain why you want to open 30 windows simultaneously.
>>>
>>>
>>> On Sun, 6 Jul 2003 12:16:31 -0400, in
>>> <BXXNa.13826$1a6.5450@lakeread01>
>>> jowl scrawled:
>>>
>>>> I don't want to hit a key. That defeats the whole purpose
>>>> of the BAT file.
>>>> I just want it to pause for around 2 or 3 seconds.
>>>>

>
> <snip>




 
Reply With Quote
 
°Mike°
Guest
Posts: n/a
 
      07-06-2003
On Sun, 6 Jul 2003 18:48:21 +0100, in
<be9nbl$2lqj6$>
Slumpy scrawled:

>"So, Mr Slumpy you *really* are the perpetual comedian, aren't you ?" I
>threw back my head and roared with laughter as °Mike° continued:
>
>> Fine, then since I suspect mischief, I won't give you the answer.

>
>Reading the thread, I can fully understand why you feel that way - it is
>exactly what I was thinking.
>
>"The shifty guy in the corner looks like he's up to no good."


I find it amazing that so many people were willing to give
advice for something that could easily be used for nefarious
purposes. At least none of them actually gave the best answer.


--
Basic computer maintenance
http://uk.geocities.com/personel44/maintenance.html
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thunderbird pauses Greg T Firefox 3 01-09-2008 02:05 PM
windows pauses dann Computer Support 1 07-02-2006 02:56 PM
Doing short pauses Michel Rouzic C Programming 3 11-16-2005 05:53 PM
PC pauses every 1 second. Plz help Dima Computer Support 2 09-17-2004 02:25 PM
Computer pauses Faisal Computer Support 3 09-05-2003 02:14 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57