Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Single Post  Topic: Autorun 
Author Message
HA3APET



PostPosted: Thu Dec 01, 2016 12:44    Post subject: Reply with quote

MVV
Не могу осилить, не хватает понимания, как сделать обработку вывода

Code:
ProcessExecGetOutput PING ping.exe '-n 1 адрес1'
If %PING% ....


Батник такой:
Code:
@echo off
ping -n 1 адрес1 | find /i "TTL=">nul
if %errorlevel%==0 (
Set IP=адрес1
) else (
Set IP=адрес2
)
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group