Eli Zaretskii wrote:
> > Is there any chance that putting a newline or CR in an
> > environment variable, then using %varname%, would allow one to
> > embed such a character?
> 
> Not surprisingly, it doesn't work, at least in my testing.

Yup, that's what I found out as well. In a Cygwin shell I did:

$ export NEWLINE='
'
$ cmd.exe /c 'printf "%s\n" "foo%NEWLINE%bar"'

and got

foo

Bruno


Reply via email to