, SUBNET . , . : for /L %%a in (1,1,10) do ping 10.0.0.%%a | FIND /i "Reply">>c:\ping.txt , ?
-n 4 ping ping -n 4 10.0.0.X 4 REPLY . .. , REPLY ,
: The process cannot access the file because it is being used by another process. ?
for /L %%a in (1,1,10) do ping -n 4 10.0.0.%%a | FIND /i "Reply">>c:\ping.txt ? . executivit. ping.txt 4 , .
C:\Documents and Settings\Jonathan\™…‡ „’…ƒ„>for /L %a in (1 1 10) do ping -n 4 10.0.0.%a | FIND /i "Reply" 1>>c:\ping.txt C:\Documents and Settings\Jonathan\™…‡ „’…ƒ„>ping -n 4 10.0.0.1 | FIND /i "Reply" 1>>c:\ping.txt C:\Documents and Settings\Jonathan\™…‡ „’…ƒ„>for /L %a in (1 1 10) do ping -n 4 10.0.0.%a | FIND /i "Reply" 1>>c:\ping.txt C:\Documents and Settings\Jonathan\™…‡ „’…ƒ„>ping -n 4 10.0.0.1 | FIND /i "Reply" 1>>c:\ping.txt C:\Documents and Settings\Jonathan\™…‡ „’…ƒ„>for /L %a in (1 1 10) do ping -n 4 10.0.0.%a | FIND /i "Reply" 1>>c:\ping.txt C:\Documents and Settings\Jonathan\™…‡ „’…ƒ„>ping -n 4 10.0.0.1 | FIND /i "Reply" 1>>c:\ping.txt C:\Documents and Settings\Jonathan\™…‡ „’…ƒ„>for /L %a in (1 1 10) do ping -n 4 10.0.0.%a | FIND /i "Reply" 1>>c:\ping.txt C
BATCH ROOT C C: ? ? ?
. , . powershell - .
: http://www.fresh.co.il/vBulletin/sh...ad.php?t=452530
, , .
, , ...
? !
. : : for /l %%i in (1,1,10) do ( ping -n 4 10.0.0.%%a |find /i "Reply" >>ping.txt ) , . find.exe .
for /l %%i in (1,1,10) do ( ping -n 4 10.0.0.%%a |find /i "Reply" >>ping.txt )
- Sandbox Pinky: Ha ha ha ha, Troz! Brain: What is troz? Pinky: Why that's Zort in a mirror. Huh huh, Troz!