- Jul
- 20
- 1
I am using the do command with literal strings (/L) to automate some tasks. The problem I am having is that do insists on breaking up literal strings with embedded spaces, even if they are inside quotes ("") or %@quote[]. A simple example:
do v /L abc "def ghi" jkl (echo %v)
results in 4 echo'd lines of abc, "def, ghi", jkl (and the same if I use %@quote[def ghi]).
The documentation states that it treats everything in the stringset after /L as string literals, so I would expect quoted strings to be honored.
version: TCC 15.01.52 x64 Windows 7 [Version 6.1.7601]
do v /L abc "def ghi" jkl (echo %v)
results in 4 echo'd lines of abc, "def, ghi", jkl (and the same if I use %@quote[def ghi]).
The documentation states that it treats everything in the stringset after /L as string literals, so I would expect quoted strings to be honored.
version: TCC 15.01.52 x64 Windows 7 [Version 6.1.7601]