|
||||||||
|
|
#1
|
|
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................ Vis-MCSA |
|
#2
|
|||
|
|||
|
"Vis-MCSA" <(E-Mail Removed)> wrote in message
news:4DB16E44-08D4-49DE-8610-(E-Mail Removed)... > 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
|
|||
|
|||
|
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" <(E-Mail Removed)> wrote in message > news:4DB16E44-08D4-49DE-8610-(E-Mail Removed)... > > 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
|
|||
|
|||
|
Vis-MCSA <(E-Mail Removed)> schreef in berichtnieuws 4DB16E44-08D4-49DE-8610-(E-Mail Removed)... [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 |
|
#5
|
|||
|
|||
|
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 <(E-Mail Removed)> schreef in berichtnieuws > 4DB16E44-08D4-49DE-8610-(E-Mail Removed)... > > [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 > > > > |
|
#6
|
|||
|
|||
|
"Vis-MCSA" <(E-Mail Removed)> wrote in message
news 4B3AB3C-22C0-4911-80F5-(E-Mail Removed)...> 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) |
|
#7
|
|||
|
|||
|
Vishal <(E-Mail Removed)> schreef in berichtnieuws
7A5D168F-F0E4-4829-8C1D-(E-Mail Removed)... > I creat a batch file but it is showing in Same window I want Separate windows > for every ping. Please help........Thanks I'm afraid its as "Don Phillipson" allready mentioned : In Win98 a batch-file is a function of the command-interpreter of the dos-box its in, and it cannot (really) interact with its parent, Windows. Maybe you should take a look at VBScript (.VBS files), which is a scripting-language within Windows itself and thus should be able to create (multiple) DOS-box windows. Regards, Rudy Wieser |
|
#8
|
|||
|
|||
|
Depending on what your trying to do this tool might be of use.
FreePing http://www.tools4ever.com/products/free/freeping/ Regards Mark Dormer "Vis-MCSA" <(E-Mail Removed)> wrote in message news:4DB16E44-08D4-49DE-8610-(E-Mail Removed)... >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................ |
|
#9
|
|||
|
|||
|
Sorry I think I post it in Wrong Community...I want to tell u what I want and
I am doing ???.... 1-- I am using windows XP with SP2. I Creat a Folder name Ping and There I creat saparate 8 Batch file for all ping. then I select all and press enter or Open.(All pinging Batch File.) then I go to taskbar and right click with Mouse and go to the "Tile windows Horizontally" all windows showing on Desktop with Horizontally then I press "Print SCRN" key and paste in MS Word for my daily ping status record. So I want just single batch file .....click & all ping show in Horizontally in Windows Screen.. (or desktop) "R.Wieser" wrote: > Vishal <(E-Mail Removed)> schreef in berichtnieuws > 7A5D168F-F0E4-4829-8C1D-(E-Mail Removed)... > > I creat a batch file but it is showing in Same window I want Separate > windows > > for every ping. Please help........Thanks > > I'm afraid its as "Don Phillipson" allready mentioned : In Win98 a > batch-file is a function of the command-interpreter of the dos-box its in, > and it cannot (really) interact with its parent, Windows. > > Maybe you should take a look at VBScript (.VBS files), which is a > scripting-language within Windows itself and thus should be able to create > (multiple) DOS-box windows. > > Regards, > Rudy Wieser > > > > |
|
#10
|
|||
|
|||
|
You could make batch file to send output to files and then open the files?
eg ping 192.168.1.1 -t>file1.txt ping 192.168.1.2 -t>file2.txt etc then another batch file to open them all up Vishal wrote: > Sorry I think I post it in Wrong Community...I want to tell u what I > want and I am doing ???.... > 1-- I am using windows XP with SP2. > I Creat a Folder name Ping and There I creat saparate 8 Batch file > for all ping. > then I select all and press enter or Open.(All pinging Batch File.) > then I go to taskbar and right click with Mouse and go to the "Tile > windows Horizontally" all windows showing on Desktop with > Horizontally then I press "Print SCRN" key and paste in MS Word for > my daily ping status record. > > So I want just single batch file .....click & all ping show in > Horizontally in Windows Screen.. (or desktop) > > > > > "R.Wieser" wrote: > >> Vishal <(E-Mail Removed)> schreef in berichtnieuws >> 7A5D168F-F0E4-4829-8C1D-(E-Mail Removed)... >>> I creat a batch file but it is showing in Same window I want >>> Separate windows for every ping. Please help........Thanks >> >> I'm afraid its as "Don Phillipson" allready mentioned : In Win98 a >> batch-file is a function of the command-interpreter of the dos-box >> its in, and it cannot (really) interact with its parent, Windows. >> >> Maybe you should take a look at VBScript (.VBS files), which is a >> scripting-language within Windows itself and thus should be able to >> create (multiple) DOS-box windows. >> >> Regards, >> Rudy Wieser |
![]() |
| Tags |
| batch, file, single |
| Thread Tools | |
| Display Modes | |
|
|