
 <SLOVAS Productions> presents: 
         
            XFF v2.0 
        
      eXtended File Finder  
   Featuring  advanced search   
    facilities, and multiple    
         action options.        
    Search by filename, date,   
   size, attributes, text etc.    
    then execute any command on    
            the files        
                                
      Copyright (c) 1998        
           ShareWare             

 
 SLOVAS Productions (C) 1998        eXtendedFileFinder 2.0
 
 Syntax : XFF d:\path file [file file ..] [switches]
     d:\path                 - Drive and path to start search.
     file                    - Filespec to search for.
     
     Search switches:
       /a=[-]XXXX            - Match attributes (X may be R H S or A).
       /d=[~]ddmmyy          - Find files [not] stored on this date.
       /d=[-|+]ddmmyy        - Find files stored before/after this date.
       /d=[~]ddmmyy..ddmmyy  - Find files stored between these dates.
       /n=[+|-]xxx           - Find files newer/older than xxx days.
       /s=[+|-]xxx           - Find files bigger/smaller than xxx (in KB).
       /s=[~]xxx..yyy        - Find files [not] within size range (in KB).
       /t[c]="search str"    - Find files containing this string [case sens.].
       
     Action switches:  
       /k                    - Kill files. Delete every matching file.
       /m=d:\path            - Move files to d:\path.
       /c=d:\path            - Copy files to d:\path.
       /w=filename           - Write files to filename.
       /e="command par"      - Execute command.
     
     Other switches:
       /p                    - Pause after every screen with files.
       /q                    - Quiet mode. Don't display anything on screen.
       /f=xxx                - Find a maximum of matching files.
       /ver                  - Display version information.




    /e   - Execute command:

    XFF can execute any command on the matching files found.
    You should be very careful using this function as it does no error 
    checking!
    Remember to enclose the command and parameters with quotation marks. 
   
    Variables supported : 
     (matching file: c:\windows\system\user.exe)
       %d - File drive (c)
       %c - File directory (\windows\system)
       %p - File path (c:\windows\system\)
       %n - File name (user) 
       %e - File extension (exe) 
       %f - Full file name (c:\windows\system\user.exe)
   
    Example: 
    XFF c:\acad13 *.dwg /e="pkzip -m %p%n.zip %f"
    This command would move every *.dwg to a zip file with the same name 
    and path.




    FileSpec:

    Standard DOS wildcards * and ? are supported, but in addition you can
    use the ~ to specify NOT. ~*.txt would ignore *.txt files
    
       Fixed and variable length "sets" are also supported:
    
       [a-m]*.*           <- Any files beginning with letters A-M
       [a-z,~ux]*.*       <- Any files beginning with a any letter 
                             except X or U
       *.?[~q]?           <- Any files except those that match *.?Q?
       foo[abc]*.*        <- Files of FOO?*.* where ''?'' is A,B or C
       foo["abc"]*.*      <- Same as above.
       foo[a-c]*.*        <- Same as above.
       test{0-9}.*        <- Files of TEST0.* through TEST9999.*
       x{}z.*             <- Filenames beginning with X and ending with Z
       x{0123456789}z.*   <- Same as above, only with numbers between X and Z.
       ('read')*.*        <- Filenames that contain the text 'READ'
    
       This program uses FileSpec written by Robert Walking-Owl
    
    

    Examples:

    To find every TXT and DOC file on drive C: except README.* you may use
           XFF c:\ *.txt *.doc ~readme.* 
    
    To copy every hidden TMP file in c:\dos to c:\tmp use
            XFF c:\dos *.tmp /a=h /c=c:\tmp
    
    To delete any file older than 130292 with the text "Texas" on c: use
            XFF c:\ *.* /d=-130292 /tc="Texas" /k
    
    To move every INI file that are hidden but not archive EXCEPT those 
    beginning with A B or C not made between 010192 and 010193 to c:\tmp use
            XFF c:\ *.ini ~[a-c]*.ini /a=h-a /d=~010192..010193 /m=c:\tmp
   
    
    If you want to confirm each delete, move, copy or execute set the  
    environment variable XFFCONFIRM=YES
