Re: .bat file for "keep open ping" not working after WinXPsp2 clea
- From: rrjmd <rrjmd@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 12 Dec 2006 16:15:01 -0800
thanks for your reply -- I copy pasted your bat file to notepad and "saveas"d
keepopen.bat. then I clicked on it which opened a new small window with a
black background and a header bar which read C:WINDOWS\system32\cmd.exe
[which is exactly what happened when I used my old batch file as well]. It
simply remained blank for about 30 sec then gave an error message: "the ping
request could not find host www.google.com. Please check the name and try
again." [Now this error message was new to me - my old bat file never even
got that far]
But: that's as far as it went. the curser returned and it just set there
processing no more instructions- I could not tell whether or not it actually
pinged or accessed the internet connection before it gave the error messages.
any more suggestions? thanks again in advance for your help.
BTW - I do back up files - the file that I referenced did work before I
restored my system/ not any more afterwards - that's the problem.
"Pegasus (MVP)" wrote:
.
"rrjmd" <rrjmd@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0193F68D-6278-4B7E-810B-DED89D593CC9@xxxxxxxxxxxxxxxx
I've used a simple .bat file to recycle through a ping command in order tocomes
keep open my internet connection through my cell phone when I use it. It's
always worked well through the many upgrades from sp1 to sp2 etc.
Now, because HP said they couldn't create me a boot disk, I had to do a
complete fresh install using an OEM WinXPsp2 (and new codes from a call to
MS). But, now, I cannot get the batch file to work. The cmd.exe window
up but no command lines are either shown or processed. I've trieddisabling
my zone alarm firewall and rewriting the bat file- all to no avail..using
To me, it seems like there's a setting not set right - one that might have
not overwritten defaults the first time when upgrading; but, now which
doesn't get set correctly during a fresh install.
Can someone tell me how to get a .bat file to work in order to Ping -
WinXpxp2 ???
@echo off
:again
ping www.google.com
ping localhost -n 120 > nul
goto again
If this does not work then you need to tell us exactly what
happens when you run it.
BTW, unless you enjoy re-inventing the wheel, you should
back up all tools (such as this one) and programs/drivers
(such as those you download from the Internet).
- Follow-Ups:
- Re: .bat file for "keep open ping" not working after WinXPsp2 clea
- From: Pegasus \(MVP\)
- Re: .bat file for "keep open ping" not working after WinXPsp2 clea
- References:
- Re: .bat file for "keep open ping" not working after WinXPsp2 clean in
- From: Pegasus \(MVP\)
- Re: .bat file for "keep open ping" not working after WinXPsp2 clean in
- Prev by Date: Re: Have a question regaurding functions of searching in IE7.
- Next by Date: Re: safe mode>hang at loading mup.sys
- Previous by thread: Re: .bat file for "keep open ping" not working after WinXPsp2 clean in
- Next by thread: Re: .bat file for "keep open ping" not working after WinXPsp2 clea
- Index(es):
Relevant Pages
|
Loading