Hey Richie... when I tested my sample script, the %a did resolve properly. I'm wondering if maybe it has something to do with the parenthesis after the do command (on his), shouldn't but could.

 Code:
$RC=setoption("NoMacrosInStrings","on")
shell 'cmd /c for /f "tokens=*" %a in ' + "('dir /ad /b') do @echo %a"
_________________________
(... better days ahead)