21 Aug
2023
21 Aug
'23
12:51 a.m.
I recall that this was at least originally only allowed in batch files, and the reason for that IIRC is that a single `%` could be taken as the specifier for an environment variable. (Early versions of `COMMAND.COM`, the real-mode command processor, don't expand environment variable references on the command line.) I don't know if that's true of the current version of `CMD.EXE` on Windows. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3616#note_42803