spacer spacer spacer
 
 
  arrow Description
  arrow Key Facts
  arrow File System and OS
  arrow Security Validation
  arrow Requires
  arrow Additional Analysis
  arrow Instructions on Use
  arrow Resources
  arrow Vendor Summary
  arrow Research this File
  help File Detail Help
 
  RadarSync
Ensures you have the latest drivers and software updates to make your PC run better and safer.
box_image  
 
 
box_image
Fix-It Utilities
Make your PC run like new! Includes Anti-Virus, Anti-Spyware, hardware diagnostics, registry fixer, and more!
 
  PC Mover
Move applications, files and settings from one PC to another. Handles Windows upgrades too, even XP 32-bit to Windows 7 64-bit!
box_image  
     
 
 
File Details
 

Forfiles.exe

ForFiles - Executes a command on selected files

 
     
  Description  
     
 
file   Forfiles.exe is a 64-bit executable for a command line application that has no GUI.
Return to the
File Analysis Report
 
     
   
  Key Facts from within File  
     
 
key facts   These are the direct values are extracted from the file. These are defined by the original developer. Some items may be unspecified, mistyped or out of date.
     
File description
  ForFiles - Executes a command on selected files
 
File Version
  6.1.7600.16385 (win7_rtm.090713-1255)
 
Application
  Microsoft Windows Operating System
 
App version
  6.1.7600.16385
 
Type
  64-bit
 
Publisher
  Microsoft Corporation
 
Copyright
  (c) Microsoft Corporation. All rights reserved.
   
  File System and OS Information  
     
 
File system  
  C:\Windows\System32

This directory holds the core operating system files and libraries.

     
Date Modified
  13-Jul-2009 5:39 pm
 
Date Created
  13-Jul-2009 3:25 pm
 
Size
  51 KB  (51,712 Bytes)
 
Captured from
  Core without updates
 
OS at capture
  Windows 7 (RTM), Build 7600, 64-bit edition
 
 
   
  Security Validation  
     
 
security   The two security hashes for Forfiles.exe were created from the original file. The security hash is created by scanning all bytes within the file. Identical files should have the same hashes. SHA1 is considered the more secure than the older MD5 hash.
     
MD5
  2C6E78F7DF5EF1C4CCD49522EC6C018E
 
SHA1
  EDBE26E7CE4ADA723C0D1A16A26F0A9459D8EEB8
     
  Requires  
     
 
required   The following files are required when running this program. These may call other files, and there can be additional required files not in this list.

           
  import Kernel32.dll   import Version.dll
  import Msvcrt.dll   import Ws2_32.dll
  import Shlwapi.dll  
 
Click on filename for more details.
 
   
  Additional Analysis  
     
 
notes  
  • Forfiles.exe requires a C++ library, and was likely written in Micorsoft Visual C++. It was likely built using Visual Studio 2008.
  • Forfiles.exe is a PE style file.
  • This program does not appear to be internally referenced by any other file.
   
  Instructions on Use  
     
 
notes   Command-line help instructions for this application.

 
FORFILES [/P pathname] [/M searchmask] [/S]
         [/C command] [/D [+ | -] {MM/dd/yyyy | dd}]

Description:
    Selects a file (or set of files) and executes a 
    command on that file. This is helpful for batch jobs.

Parameter List:
    /P    pathname      Indicates the path to start searching.
                        The default folder is the current working
                        directory (.).

    /M    searchmask    Searches files according to a searchmask.
                        The default searchmask is '*' .

    /S                  Instructs forfiles to recurse into
                        subdirectories. Like "DIR /S".

    /C    command       Indicates the command to execute for each file.
                        Command strings should be wrapped in double
                        quotes. 

                        The default command is "cmd /c echo @file".

                        The following variables can be used in the
                        command string:
                        @file    - returns the name of the file.
                        @fname   - returns the file name without
                                   extension.
                        @ext     - returns only the extension of the
                                   file.
                        @path    - returns the full path of the file.
                        @relpath - returns the relative path of the
                                   file.
                        @isdir   - returns "TRUE" if a file type is
                                   a directory, and "FALSE" for files.
                        @fsize   - returns the size of the file in
                                   bytes.
                        @fdate   - returns the last modified date of the
                                   file.
                        @ftime   - returns the last modified time of the
                                   file.

                        To include special characters in the command 
                        line, use the hexadecimal code for the character
                        in 0xHH format (ex. 0x09 for tab). Internal
                        CMD.exe commands should be preceded with
                        "cmd /c".

    /D    date          Selects files with a last modified date greater
                        than or equal to (+), or less than or equal to
                        (-), the specified date using the
                        "MM/dd/yyyy" format; or selects files with a
                        last modified date greater than or equal to (+)
                        the current date plus "dd" days, or less than or
                        equal to (-) the current date minus "dd" days. A
                        valid "dd" number of days can be any number in
                        the range of 0 - 32768.
                        "+" is taken as default sign if not specified.

    /?                  Displays this help message.

Examples:
    FORFILES /?
    FORFILES  
    FORFILES /P C:\WINDOWS /S /M DNS*.* 
    FORFILES /S /M *.txt /C "cmd /c type @file | more"
    FORFILES /P C:\ /S /M *.bat
    FORFILES /D -30 /M *.exe
             /C "cmd /c echo @path 0x09 was changed 30 days ago"
    FORFILES /D 01/01/2001
             /C "cmd /c echo @fname is new since Jan 1st 2001"
    FORFILES /D +2/26/2010 /C "cmd /c echo @fname is new today"
    FORFILES /M *.exe /D +1
    FORFILES /S /M *.doc /C "cmd /c echo @fsize" 
    FORFILES /M *.txt /C "cmd /c if @isdir==FALSE notepad.exe @file"
 
   
  Internal Resource Counts  
     
 
notes   Resources are read-only content stored within the file. It is mostly used to hold graphics, strings, menus and dialog templates, although other types are occasionally used. See our section on Resources Help for more details.

  Strings and Messages0   Icons (Single)0  
  Dialog Templates0   Icons (Grouped)0  
  Menus0   Icons (Animated)0  
  HTML Documents0   Cursors (Single)0  
  Accelerators0   Cursors (Grouped)0  
  Manifests1   Cursors (Animated)0  
  Fonts0   Bitmaps0  
 
   
  Vendor Summary  
     
 
Vendor
  Microsoft Corporation

Microsoft Corporation Logo
Phone
1-425-882-8080
1-800-642-7676

Web
Global
USA

Assistance
Support
Downloads

 
   
  Research this File  
     
 
Getting search results...
 
     
  Notes  
     
  While we believe this information up to date and accurate, FAQware is not responsible for any inaccuracies. If you find something that is out of date or inaccurate, please let us know at so we can correct it.