1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

do /s doesn't recurse

Discussion in 'Support' started by David Marcus, Nov 26, 2014.

  1. David Marcus

    Joined:
    Jun 4, 2008
    Messages:
    647
    Likes Received:
    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)]
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,809
    Likes Received:
    82

Share This Page