echo without trailing space incompatibility

Jun 5, 2015
I've found a cmd script (from syncany installation) that uses the following (arguable) syntax:
echo | set /p=hello!
to achieve an echo without trailing carriage return (like tcc's "echos").

This doesn't work on my tcc/le though (TCC LE 14.00.6 x64 Windows 10 [Version 6.3.10240] TCC LE Build 6 Windows 10 Build 10240).

The effect is not drammatic: you just get a dump of all variables instead of intended output; anyway it might be worth to try and replicate cmd's behavior.

On the other hand, this would work on both cmd and tcc:
echo | set /p nocr=hello!