Go Back   Velocity Reviews > Newsgroups > Computer Support
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply

Computer Support - BAT file pauses

 
Thread Tools Search this Thread
Old 07-06-2003, 04:03 PM   #1
jowl
 
Posts: n/a
Default BAT file pauses

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
Old 07-06-2003, 04:11 PM   #2
°Mike°
 
Posts: n/a
Default Re: BAT file pauses

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
Old 07-06-2003, 04:26 PM   #3
°Mike°
 
Posts: n/a
Default Re: BAT file pauses

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
Old 07-06-2003, 04:27 PM   #4
jowl
 
Posts: n/a
Default Re: BAT file pauses

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
Old 07-06-2003, 04:47 PM   #5
Brian H¹©
 
Posts: n/a
Default Re: BAT file pauses

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
Old 07-06-2003, 04:55 PM   #6
Steve Foley
 
Posts: n/a
Default Re: BAT file pauses

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
Old 07-06-2003, 05:07 PM   #7
Ralph Wade Phillips
 
Posts: n/a
Default Re: BAT file pauses

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
Old 07-06-2003, 05:13 PM   #8
WK
 
Posts: n/a
Default Re: BAT file pauses

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
Old 07-06-2003, 05:48 PM   #9
Slumpy
 
Posts: n/a
Default Re: BAT file pauses

"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
Old 07-06-2003, 05:52 PM   #10
°Mike°
 
Posts: n/a
Default Re: BAT file pauses

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 Search this Thread
Search this Thread:

Advanced Search

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

vB 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
SONY DVD RW DW-G120A SOMETIMES FAILS...... atlantic965 DVD Video 0 06-18-2006 09:36 PM
problems backing up dvds Lawrence Traub DVD Video 11 09-27-2005 06:34 PM
Re: Ripping DVDs. Please answer the attached question. - Question.txt Stan Brown DVD Video 19 02-09-2005 10:19 PM
Burn process failed - help! Log file posted for help troubleshooting Michael Mason DVD Video 1 08-16-2004 08:24 PM
Pioneer A05 Problems Bill Stock DVD Video 8 11-28-2003 04:03 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

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