Browse by Name: A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
forfiles.exe - Free Downloads
File Name forfiles.exe
Company Name Microsoft Corporation
Product Name Microsoft® Windows® Operating System
Version 5.2.3790.0
Size 47.5KB
Common Path C:\WINDOWS\system32\forfiles.exe
Downloads 502
Description ForFiles - Executes a command on selected files / ForFiles-对所选文件执行命令

Syntax : FORFILES [-pPath] [-mSearch Mask] [-ccommand] [-d<+|-><DDMMYYYY|DD>] [-

 -pPath               Path where to start searching
 -mSearch Mask        Search files according to <Search Mask>
 -cCommand            Command to execute on each file(s)
 -d<+|-><DDMMYYYY|DD> Select files with date >= or <=DDMMYYYY (UTC)
                      or files having date >= or <= (current date - DD days)
 -s                   Recurse directories
 -v                   Verbose mode

The following variables can be used in Command :

To include special hexa characters in the command line : use 0xHH

Default : <Directory : .> <Search Mask : *.*>  <Command : "CMD /C Echo @FILE">
Examples :
FORFILES -pc:\ -s -m*.BAT -c"CMD /C Echo @FILE is a batch file"
FORFILES -pc:\ -s -m*.* -c"CMD /C if @ISDIR==TRUE echo @FILE is a directory"
FORFILES -pc:\ -s -m*.* -d-100 -c"CMD /C Echo @FILE : date >= 100 days"
FORFILES -pc:\ -s -m*.* -d-01011993 -c"CMD /C Echo @FILE is quite old!"
FORFILES -pc:\ -s -m*.* -c"CMD /c echo extension of @FILE is 0x22@EXT0x22"
Download Now

Instructions: 3 Steps to Fix forfiles.exe Error

Please do the following to diagnose and fix your problems:
STEP 1: Click Here to Download DLLEscort FREE
STEP 2: Run the software and click the "Click to Start Scan" button.
STEP 3: Click the "All Repair" button to fix the problems. forfiles.exe Fix Tool

How to Fix forfiles.exe manually

Method 1: Solving the forfiles.exe Error Using the Windows System File Checker

  1. In order to complete this step, you must run the Command Prompt as administrator. In order to do this, all you have to do is follow the steps below.
    NOTE! We ran the Command Prompt using Windows 10. If you are using Windows 8.1, Windows 8, Windows 7, Windows Vista or Windows XP, you can use the same method to run the Command Prompt as administrator.
    1. Open the Start Menu and before clicking anywhere, type "cmd" on your keyboard. This process will enable you to run a search through the Start Menu. We also typed in "cmd" to bring up the Command Prompt.
    2. Right-click the "Command Prompt" search result that comes up and click the Run as administrator" option.
    Running the Command Prompt as administrator
    Step 1:Running the Command Prompt as administrator
  2. Type the command below into the Command Line page that comes up and run it by pressing Enter on your keyboard.
    sfc /scannow
    Getting rid of Windows Dll errors by running the sfc /scannow command
    Step 2:Getting rid of Windows Dll errors by running the sfc /scannow command
  3. The process can take some time depending on your computer and the condition of the errors in the system. Before the process is finished, don't close the command line! When the process is finished, try restarting the software that you are experiencing the errors in after closing the command line.
  © 2010 All Rights Reserved.