You are here: PSPad forum > České diskuzní fórum > Zvýrazňování windows shell syntaxe

Zvýrazňování windows shell syntaxe

Goto Page: PreviousFirst...3 4 5 6 7 8 9 10 11 12 13

#121 Re: Kontrola poctu zavorek v batch souboru

Posted by: lazna | Date: 2020-11-27 12:10 | IP: IP Logged

for /f "tokens=4 delims=: " %%a in ('nslookup -timeout^=1 -debug myip.opendns.com resolver1.opendns.com') do echo %%a

Klicova slova windows shellu (zde 'timeout') zvyraznovat pouze pokud stoji samostatne, uz jsme to tusim resili s 'time'.

Options: Reply | Quote | Up ^


#122 Re: Kontrola poctu zavorek v batch souboru

Posted by: pspad | Date: 2020-11-27 12:48 | IP: IP Logged

tak jsem provedl změny, snad se to "nerozbije" jinde

Options: Reply | Quote | Up ^


#123 Re: Kontrola poctu zavorek v batch souboru

Posted by: lazna | Date: 2020-12-06 21:55 | IP: IP Logged

Volani jineho .cmd souboru nezvyraznuje prvni promennou v parametru a u druhe nejsou zvyrazneny prvni uvozovky.

call functions\get_log.cmd "!did!" "%dur%"

Options: Reply | Quote | Up ^


#124 Re: Kontrola poctu zavorek v batch souboru

Posted by: lazna | Date: 2020-12-19 12:41 | IP: IP Logged

Slovo 'files' neni klicove slovo windows shellu a nemelo by tudiz byt zvyraznovano

<nul set /p=%E%2;3fUnable to download support files

Options: Reply | Quote | Up ^


#125 Re: Kontrola poctu zavorek v batch souboru

Posted by: pspad | Date: 2020-12-19 15:01 | IP: IP Logged

Provedu

Options: Reply | Quote | Up ^


Goto Page: PreviousFirst...3 4 5 6 7 8 9 10 11 12 13





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