Chuck said:
Correctly written (copy this to Chub, in 2 places in the code):
@echo "%computername% C:\WINDOWS\system32\ping %%a" >>c:\cdiag.txt
@echo. >>c:\cdiag.txt
C:\WINDOWS\system32\ping %%a >>c:\cdiag.txt
And it looks like you left 192.168.0.20 out of PingTargets above?
Chuck you have been very patient and I thank you for that. Not sure
why I'm having such a hard time with this. It appears to be a simple
enough request. Only excuse I can come up with is that my background
is nearly exclusively unix and I have a very thick skull...
NOTE: I made another small change in cdiag.cmd on chub to get the
result to pop up in notepad. Needed the full path similar to the ping
command. (Full text at very end)
And it looks like you left 192.168.0.20 out of PingTargets above?
I thought we were interested only in the winxp pro boxes... sorry.
192.168.0.20 is an hardware gateway/firewall. (NETGEAR FVS-318)
I've included fw 192.168.0.20 in this output.
Due to having made so many blunders thus far here I will post the
results from the three runs of cdiag.cmd and the full text of what I
ran.
So an outline of this message looks like:
cdiag out from ansil
cdiag out from harvey
Full text of cdiag run on ansil and harvey
cdiag out from chub
Full text of cdiag run on chub
Ansil and Harvey diagnostic output
Ansil:
CDiagnosis V1.31
Start diagnosis for ANSIL
Full Targets chub 192.168.0.2 harvey 192.168.0.22 ansil 192.168.0.21 127.0.0.1
Target chub
"ANSIL ping chub"
Pinging chub [192.168.0.2] with 32 bytes of data:
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.0.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"ANSIL net view chub"
Shared resources at chub
Share name Type Used as Comment
-------------------------------------------------------------------------------
chub-a Disk
chub-bk1 Disk Y:
chub-bk2 Disk Z:
chub-c Disk
chub-d Disk
chub-dvdb Disk sony dui 330
chub-e Disk sata1_0
chub-g Disk sata2_0
chub-h Disk
chub-printer Print HP Mult-ifunction 7130
chub_02 Disk
E Disk
F Disk
harvey_22 Disk
IDE1_bad Disk
Printer Print hp officejet 7100 series fax
Printer2 Print SnagIt 7
SharedDocs Disk
The command completed successfully.
Target 192.168.0.2
"ANSIL ping 192.168.0.2"
Pinging 192.168.0.2 with 32 bytes of data:
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.0.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"ANSIL net view 192.168.0.2"
Shared resources at 192.168.0.2
Share name Type Used as Comment
-------------------------------------------------------------------------------
chub-a Disk
chub-bk1 Disk
chub-bk2 Disk
chub-c Disk
chub-d Disk
chub-dvdb Disk sony dui 330
chub-e Disk sata1_0
chub-g Disk sata2_0
chub-h Disk
chub-printer Print HP Mult-ifunction 7130
chub_02 Disk
E Disk
F Disk
harvey_22 Disk
IDE1_bad Disk
Printer Print hp officejet 7100 series fax
Printer2 Print SnagIt 7
SharedDocs Disk
The command completed successfully.
Target harvey
"ANSIL ping harvey"
Pinging harvey [192.168.0.22] with 32 bytes of data:
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.0.22:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"ANSIL net view harvey"
Shared resources at harvey
Share name Type Used as Comment
-------------------------------------------------------------------------------
chub2-g Disk IDE1_1
Harry Disk
harvey-c Disk
harvey-d Disk
Harvey-dvdburn Disk
harvey-e Disk
harvey-g Disk
harvey-printer Print Epson R800 photo
Printer Print SnagIt 7
SharedDocs Disk
The command completed successfully.
Target 192.168.0.22
"ANSIL ping 192.168.0.22"
Pinging 192.168.0.22 with 32 bytes of data:
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.0.22:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"ANSIL net view 192.168.0.22"
Shared resources at 192.168.0.22
Share name Type Used as Comment
-------------------------------------------------------------------------------
chub2-g Disk IDE1_1
Harry Disk
harvey-c Disk
harvey-d Disk
Harvey-dvdburn Disk
harvey-e Disk
harvey-g Disk
harvey-printer Print Epson R800 photo
Printer Print SnagIt 7
SharedDocs Disk
The command completed successfully.
Target ansil
"ANSIL ping ansil"
Pinging ansil.local.net0 [192.168.0.21] with 32 bytes of data:
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.0.21:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"ANSIL net view ansil"
Shared resources at ansil
Share name Type Used as Comment
-------------------------------------------------------------------------------
ansil-c Disk
ansil-d Disk
ansil-dvd Disk
ansil-g Disk
SharedDocs Disk
The command completed successfully.
Target 192.168.0.21
"ANSIL ping 192.168.0.21"
Pinging 192.168.0.21 with 32 bytes of data:
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.0.21:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"ANSIL net view 192.168.0.21"
Shared resources at 192.168.0.21
Share name Type Used as Comment
-------------------------------------------------------------------------------
ansil-c Disk
ansil-d Disk
ansil-dvd Disk
ansil-g Disk
SharedDocs Disk
The command completed successfully.
Target 127.0.0.1
"ANSIL ping 127.0.0.1"
Pinging 127.0.0.1 with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"ANSIL net view 127.0.0.1"
Shared resources at 127.0.0.1
Share name Type Used as Comment
-------------------------------------------------------------------------------
ansil-c Disk
ansil-d Disk
ansil-dvd Disk
ansil-g Disk
SharedDocs Disk
The command completed successfully.
Ping Targets
www.yahoo.com 66.94.230.32
Target
www.yahoo.com
"ANSIL ping
www.yahoo.com"
Pinging
www.yahoo.akadns.net [216.109.118.66] with 32 bytes of data:
Reply from 216.109.118.66: bytes=32 time=27ms TTL=51
Reply from 216.109.118.66: bytes=32 time=27ms TTL=50
Reply from 216.109.118.66: bytes=32 time=28ms TTL=50
Reply from 216.109.118.66: bytes=32 time=27ms TTL=50
Ping statistics for 216.109.118.66:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 27ms, Maximum = 28ms, Average = 27ms
Target 66.94.230.32
"ANSIL ping 66.94.230.32"
Pinging 66.94.230.32 with 32 bytes of data:
Reply from 66.94.230.32: bytes=32 time=63ms TTL=49
Reply from 66.94.230.32: bytes=32 time=64ms TTL=49
Reply from 66.94.230.32: bytes=32 time=63ms TTL=49
Reply from 66.94.230.32: bytes=32 time=63ms TTL=49
Ping statistics for 66.94.230.32:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 63ms, Maximum = 64ms, Average = 63ms
End diagnosis for ANSIL
=======================================================
Harvey:
CDiagnosis V1.31
Start diagnosis for HARVEY
Full Targets chub 192.168.0.2 harvey 192.168.0.22 ansil 192.168.0.21 127.0.0.1
Target chub
"HARVEY ping chub"
Pinging chub [192.168.0.2] with 32 bytes of data:
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.0.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"HARVEY net view chub"
Shared resources at chub
Share name Type Used as Comment
-------------------------------------------------------------------------------
chub-a Disk
chub-bk1 Disk
chub-bk2 Disk
chub-c Disk
chub-d Disk
chub-dvdb Disk sony dui 330
chub-e Disk sata1_0
chub-g Disk sata2_0
chub-h Disk
chub-printer Print HP Mult-ifunction 7130
chub_02 Disk
E Disk
F Disk
harvey_22 Disk
IDE1_bad Disk
Printer Print hp officejet 7100 series fax
Printer2 Print SnagIt 7
SharedDocs Disk
The command completed successfully.
Target 192.168.0.2
"HARVEY ping 192.168.0.2"
Pinging 192.168.0.2 with 32 bytes of data:
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.0.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"HARVEY net view 192.168.0.2"
Shared resources at 192.168.0.2
Share name Type Used as Comment
-------------------------------------------------------------------------------
chub-a Disk
chub-bk1 Disk
chub-bk2 Disk
chub-c Disk
chub-d Disk
chub-dvdb Disk sony dui 330
chub-e Disk sata1_0
chub-g Disk sata2_0
chub-h Disk
chub-printer Print HP Mult-ifunction 7130
chub_02 Disk
E Disk
F Disk
harvey_22 Disk
IDE1_bad Disk
Printer Print hp officejet 7100 series fax
Printer2 Print SnagIt 7
SharedDocs Disk
The command completed successfully.
Target harvey
"HARVEY ping harvey"
Pinging harvey.local.net0 [192.168.0.22] with 32 bytes of data:
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.0.22:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"HARVEY net view harvey"
Shared resources at harvey
Share name Type Used as Comment
-------------------------------------------------------------------------------
chub2-g Disk IDE1_1
Harry Disk
harvey-c Disk
harvey-d Disk
Harvey-dvdburn Disk
harvey-e Disk
harvey-g Disk
harvey-printer Print Epson R800 photo
Printer Print SnagIt 7
SharedDocs Disk
The command completed successfully.
Target 192.168.0.22
"HARVEY ping 192.168.0.22"
Pinging 192.168.0.22 with 32 bytes of data:
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Reply from 192.168.0.22: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.0.22:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"HARVEY net view 192.168.0.22"
Shared resources at 192.168.0.22
Share name Type Used as Comment
-------------------------------------------------------------------------------
chub2-g Disk IDE1_1
Harry Disk
harvey-c Disk
harvey-d Disk
Harvey-dvdburn Disk
harvey-e Disk
harvey-g Disk
harvey-printer Print Epson R800 photo
Printer Print SnagIt 7
SharedDocs Disk
The command completed successfully.
Target ansil
"HARVEY ping ansil"
Pinging ansil [192.168.0.21] with 32 bytes of data:
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.0.21:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"HARVEY net view ansil"
Shared resources at ansil
Share name Type Used as Comment
-------------------------------------------------------------------------------
ansil-c Disk
ansil-d Disk
ansil-dvd Disk
ansil-g Disk
SharedDocs Disk
The command completed successfully.
Target 192.168.0.21
"HARVEY ping 192.168.0.21"
Pinging 192.168.0.21 with 32 bytes of data:
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Reply from 192.168.0.21: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.0.21:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"HARVEY net view 192.168.0.21"
Shared resources at 192.168.0.21
Share name Type Used as Comment
-------------------------------------------------------------------------------
ansil-c Disk
ansil-d Disk
ansil-dvd Disk
ansil-g Disk
SharedDocs Disk
The command completed successfully.
Target 127.0.0.1
"HARVEY ping 127.0.0.1"
Pinging 127.0.0.1 with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
"HARVEY net view 127.0.0.1"
Shared resources at 127.0.0.1
Share name Type Used as Comment
-------------------------------------------------------------------------------
chub2-g Disk IDE1_1
Harry Disk
harvey-c Disk
harvey-d Disk
Harvey-dvdburn Disk
harvey-e Disk
harvey-g Disk
harvey-printer Print Epson R800 photo
Printer Print SnagIt 7
SharedDocs Disk
The command completed successfully.
Ping Targets
www.yahoo.com 66.94.230.32
Target
www.yahoo.com
"HARVEY ping
www.yahoo.com"
Pinging
www.yahoo.akadns.net [68.142.226.55] with 32 bytes of data:
Reply from 68.142.226.55: bytes=32 time=27ms TTL=50
Reply from 68.142.226.55: bytes=32 time=27ms TTL=50
Reply from 68.142.226.55: bytes=32 time=27ms TTL=51
Reply from 68.142.226.55: bytes=32 time=28ms TTL=51
Ping statistics for 68.142.226.55:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 27ms, Maximum = 28ms, Average = 27ms
Target 66.94.230.32
"HARVEY ping 66.94.230.32"
Pinging 66.94.230.32 with 32 bytes of data:
Reply from 66.94.230.32: bytes=32 time=64ms TTL=49
Reply from 66.94.230.32: bytes=32 time=62ms TTL=49
Reply from 66.94.230.32: bytes=32 time=63ms TTL=49
Reply from 66.94.230.32: bytes=32 time=63ms TTL=49
Ping statistics for 66.94.230.32:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 62ms, Maximum = 64ms, Average = 63ms
End diagnosis for HARVEY
Full text of cdiag.txt run on Ansil and Harvey:
@echo off
set FullTarget1=chub 192.168.0.2
set FullTarget2=harvey 192.168.0.22
set FullTarget3=ansil 192.168.0.21
set FullTarget4=fw 192.168.0.20
set FullTargets=%FullTarget1% %FullTarget2% %FullTarget3% %FullTarget4%
set FullTargets=%FullTargets% 127.0.0.1
set PingTargets=
www.yahoo.com 66.94.230.32
Set Version=V1.31
@echo CDiagnosis %Version% >c:\cdiag.txt
@echo Start diagnosis for %computername% >>c:\cdiag.txt
@echo Full Targets %FullTargets% >>c:\cdiag.txt
for %%a in (%FullTargets%) do (
@echo. >>c:\cdiag.txt
@echo Target %%a >>c:\cdiag.txt
@echo. >>c:\cdiag.txt
@echo "%computername% ping %%a" >>c:\cdiag.txt
@echo. >>c:\cdiag.txt
ping %%a >>c:\cdiag.txt
@echo. >>c:\cdiag.txt
@echo "%computername% net view %%a" >>c:\cdiag.txt
@echo. >>c:\cdiag.txt
net view %%a >>c:\cdiag.txt
)
@echo. >>c:\cdiag.txt
@echo Ping Targets %PingTargets% >>c:\cdiag.txt
for %%a in (%PingTargets%) do (
@echo. >>c:\cdiag.txt
@echo Target %%a >>c:\cdiag.txt
@echo. >>c:\cdiag.txt
@echo "%computername% ping %%a" >>c:\cdiag.txt
@echo. >>c:\cdiag.txt
ping %%a >>c:\cdiag.txt
)
@echo. >>c:\cdiag.txt
@echo End diagnosis for %computername% >>c:\cdiag.txt
notepad c:\cdiag.txt
:EOF
======================================================
Diagnostic output from chub:
Chub:
CDiagnosis V1.31
Start diagnosis for CHUB
Full Targets chub 192.168.0.2 harvey 192.168.0.22 ansil 192.168.0.21 fw 192.168.0.20 127.0.0.1
Target chub
"CHUB C:\WINDOWS\system32\ping chub"
Pinging chub [192.168.0.2] with 32 bytes of data:Reply from 192.168.0.2: bytes=32 time<1ms TTL=64Reply from 192.168.0.2: bytes=32 time<1ms TTL=64Reply from 192.168.0.2: bytes=32 time<1ms TTL=64Reply from 192.168.0.2: bytes=32 time<1ms TTL=64Ping statistics for 192.168.0.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
"CHUB net view chub"
Shared resources at chub
Share name Type Used as Comment
-------------------------------------------------------------------------------
chub-a Disk
chub-bk1 Disk
chub-bk2 Disk
chub-c Disk
chub-d Disk
chub-dvdb Disk sony dui 330
chub-e Disk sata1_0
chub-g Disk sata2_0
chub-h Disk
chub-printer Print HP Mult-ifunction 7130
chub_02 Disk
E Disk
F Disk
harvey_22 Disk
IDE1_bad Disk
Printer Print hp officejet 7100 series fax
Printer2 Print SnagIt 7
SharedDocs Disk
The command completed successfully.
Target 192.168.0.2
"CHUB C:\WINDOWS\system32\ping 192.168.0.2"
Pinging 192.168.0.2 with 32 bytes of data:Reply from 192.168.0.2: bytes=32 time<1ms TTL=64Reply from 192.168.0.2: bytes=32 time<1ms TTL=64Reply from 192.168.0.2: bytes=32 time<1ms TTL=64Reply from 192.168.0.2: bytes=32 time<1ms TTL=64Ping statistics for 192.168.0.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
"CHUB net view 192.168.0.2"
Shared resources at 192.168.0.2
Share name Type Used as Comment
-------------------------------------------------------------------------------
chub-a Disk
chub-bk1 Disk
chub-bk2 Disk
chub-c Disk
chub-d Disk
chub-dvdb Disk sony dui 330
chub-e Disk sata1_0
chub-g Disk sata2_0
chub-h Disk
chub-printer Print HP Mult-ifunction 7130
chub_02 Disk
E Disk
F Disk
harvey_22 Disk
IDE1_bad Disk
Printer Print hp officejet 7100 series fax
Printer2 Print SnagIt 7
SharedDocs Disk
The command completed successfully.
Target harvey
"CHUB C:\WINDOWS\system32\ping harvey"
Pinging harvey [192.168.0.22] with 32 bytes of data:Reply from 192.168.0.22: bytes=32 time<1ms TTL=128Reply from 192.168.0.22: bytes=32 time<1ms TTL=128Reply from 192.168.0.22: bytes=32 time<1ms TTL=128Reply from 192.168.0.22: bytes=32 time<1ms TTL=128Ping statistics for 192.168.0.22: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
"CHUB net view harvey"
Shared resources at harvey
Share name Type Used as Comment
-------------------------------------------------------------------------------
chub2-g Disk IDE1_1
Harry Disk
harvey-c Disk (UNC)
harvey-d Disk
Harvey-dvdburn Disk
harvey-e Disk
harvey-g Disk
harvey-printer Print Epson R800 photo
Printer Print SnagIt 7
SharedDocs Disk
The command completed successfully.
Target 192.168.0.22
"CHUB C:\WINDOWS\system32\ping 192.168.0.22"
Pinging 192.168.0.22 with 32 bytes of data:Reply from 192.168.0.22: bytes=32 time<1ms TTL=128Reply from 192.168.0.22: bytes=32 time<1ms TTL=128Reply from 192.168.0.22: bytes=32 time<1ms TTL=128Reply from 192.168.0.22: bytes=32 time<1ms TTL=128Ping statistics for 192.168.0.22: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
"CHUB net view 192.168.0.22"
Shared resources at 192.168.0.22
Share name Type Used as Comment
-------------------------------------------------------------------------------
chub2-g Disk IDE1_1
Harry Disk
harvey-c Disk
harvey-d Disk
Harvey-dvdburn Disk
harvey-e Disk
harvey-g Disk
harvey-printer Print Epson R800 photo
Printer Print SnagIt 7
SharedDocs Disk
The command completed successfully.
Target ansil
"CHUB C:\WINDOWS\system32\ping ansil"
Pinging ansil [192.168.0.21] with 32 bytes of data:Reply from 192.168.0.21: bytes=32 time<1ms TTL=128Reply from 192.168.0.21: bytes=32 time<1ms TTL=128Reply from 192.168.0.21: bytes=32 time<1ms TTL=128Reply from 192.168.0.21: bytes=32 time<1ms TTL=128Ping statistics for 192.168.0.21: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
"CHUB net view ansil"
Shared resources at ansil
Share name Type Used as Comment
-------------------------------------------------------------------------------
ansil-c Disk (UNC)
ansil-d Disk
ansil-dvd Disk
ansil-g Disk
SharedDocs Disk
The command completed successfully.
Target 192.168.0.21
"CHUB C:\WINDOWS\system32\ping 192.168.0.21"
Pinging 192.168.0.21 with 32 bytes of data:Reply from 192.168.0.21: bytes=32 time<1ms TTL=128Reply from 192.168.0.21: bytes=32 time<1ms TTL=128Reply from 192.168.0.21: bytes=32 time<1ms TTL=128Reply from 192.168.0.21: bytes=32 time<1ms TTL=128Ping statistics for 192.168.0.21: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
"CHUB net view 192.168.0.21"
Shared resources at 192.168.0.21
Share name Type Used as Comment
-------------------------------------------------------------------------------
ansil-c Disk
ansil-d Disk
ansil-dvd Disk
ansil-g Disk
SharedDocs Disk
The command completed successfully.
Target fw
"CHUB C:\WINDOWS\system32\ping fw"
Pinging fw.local.net0 [192.168.0.20] with 32 bytes of data:Reply from 192.168.0.20: bytes=32 time<1ms TTL=63Reply from 192.168.0.20: bytes=32 time<1ms TTL=63Reply from 192.168.0.20: bytes=32 time<1ms TTL=63Reply from 192.168.0.20: bytes=32 time<1ms TTL=63Ping statistics for 192.168.0.20: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
"CHUB net view fw"
Target 192.168.0.20
"CHUB C:\WINDOWS\system32\ping 192.168.0.20"
Pinging 192.168.0.20 with 32 bytes of data:Reply from 192.168.0.20: bytes=32 time<1ms TTL=63Reply from 192.168.0.20: bytes=32 time<1ms TTL=63Reply from 192.168.0.20: bytes=32 time<1ms TTL=63Reply from 192.168.0.20: bytes=32 time<1ms TTL=63Ping statistics for 192.168.0.20: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
"CHUB net view 192.168.0.20"
Target 127.0.0.1
"CHUB C:\WINDOWS\system32\ping 127.0.0.1"
Pinging 127.0.0.1 with 32 bytes of data:Reply from 127.0.0.1: bytes=32 time<1ms TTL=64Reply from 127.0.0.1: bytes=32 time<1ms TTL=64Reply from 127.0.0.1: bytes=32 time<1ms TTL=64Reply from 127.0.0.1: bytes=32 time<1ms TTL=64Ping statistics for 127.0.0.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
"CHUB net view 127.0.0.1"
Shared resources at 127.0.0.1
Share name Type Used as Comment
-------------------------------------------------------------------------------
chub-a Disk
chub-bk1 Disk
chub-bk2 Disk
chub-c Disk
chub-d Disk
chub-dvdb Disk sony dui 330
chub-e Disk sata1_0
chub-g Disk sata2_0
chub-h Disk
chub-printer Print HP Mult-ifunction 7130
chub_02 Disk
E Disk
F Disk
harvey_22 Disk
IDE1_bad Disk
Printer Print hp officejet 7100 series fax
Printer2 Print SnagIt 7
SharedDocs Disk
The command completed successfully.
Ping Targets
www.yahoo.com 66.94.230.32
Target
www.yahoo.com
"CHUB C:\WINDOWS\system32\ping
www.yahoo.com"
Pinging
www.yahoo.akadns.net [216.109.117.106] with 32 bytes of data:Reply from 216.109.117.106: bytes=32 time=26ms TTL=51Reply from 216.109.117.106: bytes=32 time=26ms TTL=51Reply from 216.109.117.106: bytes=32 time=27ms TTL=51Reply from 216.109.117.106: bytes=32 time=27ms TTL=51Ping statistics for 216.109.117.106: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 26ms, Maximum = 27ms, Average = 26ms
Target 66.94.230.32
"CHUB C:\WINDOWS\system32\ping 66.94.230.32"
Pinging 66.94.230.32 with 32 bytes of data:Reply from 66.94.230.32: bytes=32 time=74ms TTL=45Reply from 66.94.230.32: bytes=32 time=74ms TTL=45Reply from 66.94.230.32: bytes=32 time=74ms TTL=45Reply from 66.94.230.32: bytes=32 time=74ms TTL=45Ping statistics for 66.94.230.32: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 74ms, Maximum = 74ms, Average = 74ms
End diagnosis for CHUB
========================================
Full text of cdiag.cmd from chub:
@echo off
set FullTarget1=chub 192.168.0.2
set FullTarget2=harvey 192.168.0.22
set FullTarget3=ansil 192.168.0.21
set FullTarget4=fw 192.168.0.20
set FullTargets=%FullTarget1% %FullTarget2% %FullTarget3% %FullTarget4%
set FullTargets=%FullTargets% 127.0.0.1
set PingTargets=
www.yahoo.com 66.94.230.32
Set Version=V1.31
@echo CDiagnosis %Version% >c:\cdiag.txt
@echo Start diagnosis for %computername% >>c:\cdiag.txt
@echo Full Targets %FullTargets% >>c:\cdiag.txt
for %%a in (%FullTargets%) do (
@echo. >>c:\cdiag.txt
@echo Target %%a >>c:\cdiag.txt
@echo. >>c:\cdiag.txt
@echo "%computername% C:\WINDOWS\system32\ping %%a" >>c:\cdiag.txt
@echo. >>c:\cdiag.txt
C:\WINDOWS\system32\ping %%a >>c:\cdiag.txt
@echo. >>c:\cdiag.txt
@echo "%computername% net view %%a" >>c:\cdiag.txt
@echo. >>c:\cdiag.txt
net view %%a >>c:\cdiag.txt
)
@echo. >>c:\cdiag.txt
@echo Ping Targets %PingTargets% >>c:\cdiag.txt
for %%a in (%PingTargets%) do (
@echo. >>c:\cdiag.txt
@echo Target %%a >>c:\cdiag.txt
@echo. >>c:\cdiag.txt
@echo "%computername% C:\WINDOWS\system32\ping %%a" >>c:\cdiag.txt
@echo. >>c:\cdiag.txt
C:\WINDOWS\system32\ping %%a >>c:\cdiag.txt
)
@echo. >>c:\cdiag.txt
@echo End diagnosis for %computername% >>c:\cdiag.txt
C:\WINDOWS\system32\notepad c:\cdiag.txt
:EOF