do /s doesn't recurse

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
The /s option for DO doesn't seem to work for me:

C:\Junk>ffind /s *
C:\Junk\Foo
C:\Junk\Foo\Bar.txt

2 files

C:\Junk>do f in /s * (echo %f)
Foo

C:\Junk>ver

TCC 17.00.57 x64 Windows 7 [Version 6.1.7601]


Also, this line in the Help seems to be missing one or two "]":

DO varname IN [range...] /D"directory" [/I:"text" /S[[+]n] /A:[[-|+]rhsadecijopt /O:[-]adegnrstu fileset [(command)]