A Windows 98 & ME forum. Win98banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Win98banter forum » Windows 98 » Networking
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Single Batch File



 
 
Thread Tools Display Modes
  #1  
Old October 11th 07, 09:09 AM posted to microsoft.public.win98.networking
Vis-MCSA
External Usenet User
 
Posts: 4
Default Single Batch File

i have to run following ping command for 9 ips.
ping 192.168.1.1 -t
ping 192.168.1.4 -t
ping 192.168.1.7 -t
ping 192.168.1.8 -t
ping 192.168.1.15 -t
ping 192.168.1.16 -t
ping 192.168.1.37 -t
ping 192.168.1.38 -t
ping 192.168.1.49 -t



is there any process by which I dont have to type each time in command
prompt ot run every ping. can we create any batch file..

any help................

  #2  
Old October 11th 07, 07:22 PM posted to microsoft.public.win98.networking
Don Phillipson
External Usenet User
 
Posts: 524
Default Single Batch File

"Vis-MCSA" wrote in message
...
i have to run following ping command for 9 ips.
ping 192.168.1.1 -t
ping 192.168.1.4 -t
ping 192.168.1.7 -t
ping 192.168.1.8 -t
ping 192.168.1.15 -t
ping 192.168.1.16 -t
ping 192.168.1.37 -t
ping 192.168.1.38 -t
ping 192.168.1.49 -t



is there any process by which I dont have to type each time in command
prompt ot run every ping. can we create any batch file..


If you insert a line between each of these commands
with the single command
pause
the BATch will pause after each PING and require a single CR
before it continues with the next PING.

--
Don Phillipson
Carlsbad Springs
(Ottawa, Canada)


  #3  
Old October 11th 07, 07:22 PM posted to microsoft.public.win98.networking
Don Phillipson
External Usenet User
 
Posts: 524
Default Single Batch File

"Vis-MCSA" wrote in message
...
i have to run following ping command for 9 ips.
ping 192.168.1.1 -t
ping 192.168.1.4 -t
ping 192.168.1.7 -t
ping 192.168.1.8 -t
ping 192.168.1.15 -t
ping 192.168.1.16 -t
ping 192.168.1.37 -t
ping 192.168.1.38 -t
ping 192.168.1.49 -t



is there any process by which I dont have to type each time in command
prompt ot run every ping. can we create any batch file..


If you insert a line between each of these commands
with the single command
pause
the BATch will pause after each PING and require a single CR
before it continues with the next PING.

--
Don Phillipson
Carlsbad Springs
(Ottawa, Canada)


  #4  
Old October 12th 07, 05:37 AM posted to microsoft.public.win98.networking
Vis-MCSA
External Usenet User
 
Posts: 4
Default Single Batch File

Hi,

Thanks For quick reply but I want a batch file which all pings will open in
separate window with Horizontally......Thanks in Advance

Best Regards,

Vishal



"Don Phillipson" wrote:

"Vis-MCSA" wrote in message
...
i have to run following ping command for 9 ips.
ping 192.168.1.1 -t
ping 192.168.1.4 -t
ping 192.168.1.7 -t
ping 192.168.1.8 -t
ping 192.168.1.15 -t
ping 192.168.1.16 -t
ping 192.168.1.37 -t
ping 192.168.1.38 -t
ping 192.168.1.49 -t



is there any process by which I dont have to type each time in command
prompt ot run every ping. can we create any batch file..


If you insert a line between each of these commands
with the single command
pause
the BATch will pause after each PING and require a single CR
before it continues with the next PING.

--
Don Phillipson
Carlsbad Springs
(Ottawa, Canada)



  #5  
Old October 12th 07, 05:37 AM posted to microsoft.public.win98.networking
Vis-MCSA
External Usenet User
 
Posts: 4
Default Single Batch File

Hi,

Thanks For quick reply but I want a batch file which all pings will open in
separate window with Horizontally......Thanks in Advance

Best Regards,

Vishal



"Don Phillipson" wrote:

"Vis-MCSA" wrote in message
...
i have to run following ping command for 9 ips.
ping 192.168.1.1 -t
ping 192.168.1.4 -t
ping 192.168.1.7 -t
ping 192.168.1.8 -t
ping 192.168.1.15 -t
ping 192.168.1.16 -t
ping 192.168.1.37 -t
ping 192.168.1.38 -t
ping 192.168.1.49 -t



is there any process by which I dont have to type each time in command
prompt ot run every ping. can we create any batch file..


If you insert a line between each of these commands
with the single command
pause
the BATch will pause after each PING and require a single CR
before it continues with the next PING.

--
Don Phillipson
Carlsbad Springs
(Ottawa, Canada)



  #8  
Old October 12th 07, 09:15 AM posted to microsoft.public.win98.networking
Vishal
External Usenet User
 
Posts: 2
Default Single Batch File

I creat a batch file but it is showing in Same window I want Separate windows
for every ping. Please help........Thanks

Note : First I creat a Notepad file with Name "PingAll.bat"
in notepad file I type
ping 192.168.1.1
ping 192.168.1.4
ping 192.168.1.7
ping 192.168.1.8
ping 192.168.1.15
ping 192.168.1.16
ping 192.168.1.37
ping 192.168.1.38
ping 192.168.1.49

All IPs are pinging but in same window ......is there any corrections
...please tell me....


"R.Wieser" wrote:


Vis-MCSA schreef in berichtnieuws
...

[snip]
is there any process by which I dont have to type each time in
command prompt ot run every ping. can we create any batch file..


You could just write those lines into a text-file and name it "PingAll.bat"
....

Regards,
Rudy Wieser




  #9  
Old October 12th 07, 09:15 AM posted to microsoft.public.win98.networking
Vishal
External Usenet User
 
Posts: 2
Default Single Batch File

I creat a batch file but it is showing in Same window I want Separate windows
for every ping. Please help........Thanks

Note : First I creat a Notepad file with Name "PingAll.bat"
in notepad file I type
ping 192.168.1.1
ping 192.168.1.4
ping 192.168.1.7
ping 192.168.1.8
ping 192.168.1.15
ping 192.168.1.16
ping 192.168.1.37
ping 192.168.1.38
ping 192.168.1.49

All IPs are pinging but in same window ......is there any corrections
...please tell me....


"R.Wieser" wrote:


Vis-MCSA schreef in berichtnieuws
...

[snip]
is there any process by which I dont have to type each time in
command prompt ot run every ping. can we create any batch file..


You could just write those lines into a text-file and name it "PingAll.bat"
....

Regards,
Rudy Wieser




  #10  
Old October 12th 07, 04:57 PM posted to microsoft.public.win98.networking
Don Phillipson
External Usenet User
 
Posts: 524
Default Single Batch File

"Vis-MCSA" wrote in message
news
Thanks For quick reply but I want a batch file which all pings will open

in
separate window with Horizontally......Thanks in Advance


Creation of separate windows is a Windows
function. BATch files are a DOS function.
I don't think you can execute a Windows
function from a DOS prompt.

--
Don Phillipson
Carlsbad Springs
(Ottawa, Canada)


 




Thread Tools
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch file for IE 6 - 5.5 dll replacement (explorer hang issue with bulk move/delete file operations) Ivan Bútora General 5 December 16th 05 01:58 AM
Close app via batch file dadiOH General 5 September 17th 05 04:00 PM
Batch file syntax Rednelle General 4 July 11th 04 11:30 AM
Making Batch File Farhan General 1 June 28th 04 08:30 AM
DOS Batch file controlled my PC! Coolwater0009 Improving Performance 1 May 20th 04 06:09 AM


All times are GMT +1. The time now is 06:56 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.