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

Help nit (FFIND and DIR with /S)

Discussion in 'Support' started by vefatica, Aug 22, 2017.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,066
    Likes Received:
    30
    For both DIR and FFIND, the help for "/S" mentions only "the current directory and all of its subdirectories". But there's a very useful (and old) behavior wherein if file contains a path then that path is used as the root for recursion. For example,
    Code:
    v:\> dir /s /f g:\tc21\4u*
    G:\tc21\plugins\4utils.dll
    G:\tc21\plugins\4utils.dllxx
    
    v:\> ffind /s /a:d /h g:\tc21\*
    G:\tc21\Assets
    G:\tc21\plugins
    G:\tc21\styles
    G:\tc21\plugins\hold
    G:\tc21\styles\Distrib
    
    Is there a way one might discover that behavior? I looked (only a little) and didn't find one.
     

Share This Page