4.2.2.3 is hard coded - they want Internet responsiveness and that's an IP that 
work. It's a poor test but all I can think of w/out requiring some additional 
software. PowerShell is out because I can't assume any of the XP machines will 
have it installed - this tool will go to environments I have no control over.

-----Original Message-----
From: Angus Scott-Fleming [mailto:angu...@geoapps.com] 
Sent: Wednesday, June 06, 2012 2:41 PM
To: NT System Admin Issues
Subject: Re: Is there a way...

On 24 May 2012 at 21:08, David Lum  wrote:

>     In batch to take this output:
>     ---
>     W32i DLL ENU 11.2.202.235 shp flash32_11_2_202_235.ocx
>     Reply from 4.2.2.3: bytes=32 time=24ms TTL=53
>     ---
>     And end up with this in a .TXT file?
>     ---
>     11.2.202.235 , 24ms
>     ---
>     I'm wondering if a FOR loop can be leveraged?

Is the 4.2.2.3 hard-coded or is that the IP of the system being checked?

FWIW on XP the FOR syntax Scott C. provided to scavenge the OCX version didn't 
work.  The following syntax works on XP from the command-line to collect the 
version number:

for /f "tokens=1-5 usebackq" %i in (`filever 
"%SystemRoot%\system32\Macromed\Flash\Flash*.ocx"`) do set FLashV=%m


--
Angus Scott-Fleming
GeoApps, Tucson, Arizona
1-520-290-5038
Security Blog: http://geoapps.com/





~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Reply via email to