You are here: PSPad forum > České diskuzní fórum > Zvýrazňování windows shell syntaxe
Goto Page: PreviousFirst...8 9 10 11 12 13 14 15 16 17 18 ...LastNext
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'.
Posted by: pspad | Date: 2020-11-27 12:48 | IP: IP Logged
tak jsem provedl změny, snad se to "nerozbije" jinde
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%"
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
Posted by: pspad | Date: 2020-12-19 15:01 | IP: IP Logged
Provedu
Posted by: pspad | Date: 2021-01-26 11:00 | IP: IP Logged
Oprava bude dostupná v dalším buildu
Posted by: lazna | Date: 2021-01-30 09:15 | IP: IP Logged
Druhy apostrof (ASCII 39) je nejak divne zobrazeny:
for /f "tokens=1,5" %%a in ('echo %line%') do (echo %%a)
Posted by: pspad | Date: 2021-02-19 07:10 | IP: IP Logged
Oprava bude v následujícím buildu
Posted by: lazna | Date: 2021-03-20 21:50 | IP: IP Logged
Mezi dvojitymi uvozovkami se specialni znaky neinterpretuji (tudiz by nemely byt zvyrazneny):
echo this text "continue here < > | & " and is redirected > to_file.txt
Posted by: pspad | Date: 2021-03-21 14:30 | IP: IP Logged
Komplikuje to ECHO
Tam byl tusim nekde v minulosti pozadavek, aby se zvyraznovaly promenne a jeste neco dalsiho
Goto Page: PreviousFirst...8 9 10 11 12 13 14 15 16 17 18 ...LastNext
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR