Happy New Year!
Because there were no spaces other than the trailing ones.
While I've got you on the horn...
Why doesn't this lose the \?
@echo off & setLocal EnableDELAYedeXpansion
for /f "tokens=* delims=\" %%a in ("!CD!") do (
Helping others achieve escape felicity