DO ignores switch /D ?

May 31, 2008
382
2
According to the manual, DO /D"path" /S * should iterate fileset in "path". Instead it seems to ignore the /D switch and always start iterating in the current directory. Is this a bug or have I missed something?
Versions TCC 9.02.152 - WinXP Pro SP3
PHP:
REM help file: DO varname IN [range...] /D"directory" [/I:"text" /S[n] /A:[[-|+]rhsadecijopt] fileset
pushd C:\ & rem debug
do i in /D"%TEMP%" /S /A:D *
  echo %i
popd & rem debug
quit & rem debug
enddo