@ echo off
Set the date: the date=% % % ~ 0, 4 - date: ~ 5, 2 - % % date: ~ % % time: 8, 2 ~ 0, 8 %
Echo date % % network impassability & gt;> ErrorLog. TXT
FOR/F "delims=" % % I in (IP. TXT) do (
Ping I - n % % 1 | findstr searches "TTL" & gt; Nul& & Echo % % I network normal | | (echo % % I network not through
Echo
Mshta vbscript: createobject (" sapi. Spvoice ") speak (" command execution failed!" ) (window. Close)
Echo % % i> ErrorLog. TXT))
pause
CodePudding user response:
What is the problem? SAPI don't work? Impression is that a 0 years interface under XP at that time also need to specifically researched SDK installation