Klinika Software
#12

Można spróbować poniższych metod , to ping wszystkie IP w " ip.txt " (każdy ip w linii ) i wysyłają wyniki do " Result.txt będący wynikiem " . Typ nul > Result.txt o / f %% a W ( ip.txt ) dzwoń : ping %% goto : EOF :świst del tmpfile ping -n 1 % 1 -w 1000 | znaleźć " TTL "> tmpfile Wyniki set / p = < tmpfile if% errorlevel % == 0 % echo% Wyniki >> Result.txt if% errorlevel % == 1 echo% 1 timed out >> Result.txt
Reply


Messages In This Thread
Klinika Software - by doctorkurochka - 12 Dec 2016, 08:57 PM
RE: Klinika Software - by russell.perrin - 12 Dec 2016, 08:58 PM
RE: Klinika Software - by mistyijensen - 12 Dec 2016, 08:58 PM
RE: Klinika Software - by afshinator - 12 Dec 2016, 08:59 PM
RE: Klinika Software - by aminrasheedkhan - 12 Dec 2016, 09:00 PM
RE: Klinika Software - by arcticwolf248 - 12 Dec 2016, 09:01 PM
RE: Klinika Software - by pulikantishreyareddy - 12 Dec 2016, 09:02 PM
RE: Klinika Software - by buford39 - 12 Dec 2016, 09:03 PM
RE: Klinika Software - by vupynulaw - 12 Dec 2016, 09:04 PM
RE: Klinika Software - by williambswygart - 12 Dec 2016, 09:05 PM
RE: Klinika Software - by dmcuong.arena - 12 Dec 2016, 09:06 PM
RE: Klinika Software - by dmcuong.arena - 12 Dec 2016, 09:07 PM
RE: Klinika Software - by jester24zyx - 12 Dec 2016, 09:08 PM
RE: Klinika Software - by harddicktony - 12 Dec 2016, 09:08 PM

Forum Jump:

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


Users browsing this thread: