Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

DO ignores switch /D ?

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
 

Similar threads

Back
Top