A bug in install-tl-windows.bat
Philip Taylor
P.Taylor at Hellenic-Institute.Uk
Wed Apr 9 00:24:29 CEST 2025
On 08/04/2025 21:01, Siep Kroonenberg via tex-live wrote:
> On Tue, Apr 08, 2025 at 11:43:56AM +0200, Donatas Zigmantas wrote:
>> I have been trying to install latest TeX Live on Windows 10, but it did not
>> go, neither using install-tl-windows.exe
>> <https://mirror.ctan.org/systems/texlive/tlnet/install-tl-windows.exe>
>> nor running install-tl-windows.bat . After some searching I found a bug in
>> the install-tl-windows.bat script on line
>> 43 if %ver_str:~10,1% EQU . (
> This is a valid string comparison.
Well, perhaps I am misunderstanding how it is intended to be used, but
it is not accepted by my 64-bit Windows 11 system. What follows is a
transcript of my test —
d:\Users\Primary user>set ver_str = .
d:\Users\Primary user>echo if %ver_str:~10,1% EQU . (echo "True") > foo.bat
REM: Note that I have assumed that the open parenthesis in the original
will be matched by a closing parenthesis, and that there must be one or
more valid CMD commands in between.
d:\Users\Primary user>foo
1 was unexpected at this time.
d:\Users\Primary user>if ~10,1 EQU . (echo "True")
d:\Users\Primary user>
--
/Philip Taylor/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20250408/0da2e9ea/attachment.htm>
More information about the tex-live
mailing list.