You are here: PSPad forum > České diskuzní fórum > 5.0.7 717 - Uplne rozbitá batch syntaxe

5.0.7 717 - Uplne rozbitá batch syntaxe

Goto Page: Previous1 2

#11 Re: 5.0.7 717 - Uplne rozbitá batch syntaxe

Posted by: lazna | Date: 2021-12-11 14:44 | IP: IP Logged

REM == If host already defined from previous round, skip verification ==========
call if defined %%%~1host%%" (
call :validate_ip_host "%hosthost%"
REM == If address is not valid [hostcode = 3], print message and restart whole =
REM == routine =================================================================
if "%hostcode%"=="3" (
<nul set /p =%E%15;9H%E%%_rst%Try %E%3%_red%;1m%trace_cnt%%E%%_rst%: %E%42;3%_blue%;1m%hosthost%%E%%_rst% is not valid host or address, try again...
goto enter_ip_host
)
REM == Clear log line on screen [????????] =====================================
<nul set /p =%E%15;9H%E%60X
)

Neparuje se prvni a posledni zavorka 5.0.6

Options: Reply | Quote | Up ^


#12 Re: 5.0.7 717 - Uplne rozbitá batch syntaxe

Posted by: pspad | Date: 2021-12-11 14:48 | IP: IP Logged

U te prvni zavorky zacina retezec a nikde nekonci (uvozovky pred zavorkou)
Zavorku pak PSpad bere, jako by byla soucasti retezce

Options: Reply | Quote | Up ^


#13 Re: 5.0.7 717 - Uplne rozbitá batch syntaxe

Posted by: lazna | Date: 2021-12-11 15:11 | IP: IP Logged

mate pravdu, uvozovka byl preklep...

Edited 1 time(s). Last edit at 2021-12-11 15:11 by lazna.

Options: Reply | Quote | Up ^


#14 Re: 5.0.7 717 - Uplne rozbitá batch syntaxe

Posted by: pspad | Date: 2021-12-11 15:23 | IP: IP Logged

V pohode, uz jsem myslel, ze je to zase nejaka silena syntaxe grinning smiley

Options: Reply | Quote | Up ^


Goto Page: Previous1 2





Editor PSPad - freeware editor, © 2001 - 2022 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR