| File name: | forfiles.exe.mui |
| Size: | 13824 byte |
| MD5: | 9639253734a52940ccb263d2a56876d3 |
| SHA1: | 63da7d49ff131fe94d0518b0bb5b49e36c118047 |
| SHA256: | 47ab941368ef75cd9a2da4bddd4f97c83b3fe03927e5abaa43c3dac32f02cc39 |
| Operating systems: | Windows 10 |
| Extension: | MUI |
| In x64: | forfiles.exe ForFiles - Executes a command on selected files (32-bit) |
If an error occurred or the following message in English (U.S.) language and you cannot find a solution, than check answer in English. Table below helps to know how correctly this phrase sounds in English.
| id | English (U.S.) | English |
|---|---|---|
| 151 | Type "FORFILES /?" for usage. |
Type "FORFILES /?" for usage. |
| 152 | Invalid syntax. |
Invalid syntax. |
| 154 | Invalid date specified. |
Invalid date specified. |
| 155 | No files found with the specified search criteria. |
No files found with the specified search criteria. |
| 161 | Files of type | Files of type |
| 162 | not found. |
not found. |
| 163 | is not a valid executable. |
is not a valid executable. |
| 164 | TRUE | TRUE |
| 165 | FALSE | FALSE |
| 167 | Access is denied for | Access is denied for |
| 169 | . |
. |
| 170 | " | " |
| 171 | The specified directory does not exist. |
The specified directory does not exist. |
| 172 | UNC paths (\\machine\share) are not supported. |
UNC paths (\\machine\share) are not supported. |
| 173 | MM%sdd%syyyy | MM%sdd%syyyy |
| 174 | MM%syyyy%sdd | MM%syyyy%sdd |
| 175 | dd%sMM%syyyy | dd%sMM%syyyy |
| 176 | dd%syyyy%sMM | dd%syyyy%sMM |
| 177 | yyyy%sdd%sMM | yyyy%sdd%sMM |
| 178 | yyyy%sMM%sdd | yyyy%sMM%sdd |
| 201 | ||
| 202 | FORFILES [/P pathname] [/M searchmask] [/S] |
FORFILES [/P pathname] [/M searchmask] [/S] |
| 203 | [/C command] [/D [+ | -] {%s | dd}] |
[/C command] [/D [+ | -] {%s | dd}] |
| 204 | Description: |
Description: |
| 205 | Selects a file (or set of files) and executes a |
Selects a file (or set of files) and executes a |
| 206 | command on that file. This is helpful for batch jobs. |
command on that file. This is helpful for batch jobs. |
| 207 | Parameter List: |
Parameter List: |
| 208 | /P pathname Indicates the path to start searching. |
/P pathname Indicates the path to start searching. |
| 209 | The default folder is the current working |
The default folder is the current working |
| 210 | directory (.). |
directory (.). |
| 211 | /M searchmask Searches files according to a searchmask. |
/M searchmask Searches files according to a searchmask. |
| 212 | The default searchmask is '*' . |
The default searchmask is '*' . |
| 213 | /S Instructs forfiles to recurse into |
/S Instructs forfiles to recurse into |
| 214 | subdirectories. Like "DIR /S". |
subdirectories. Like "DIR /S". |
| 215 | /C command Indicates the command to execute for each file. |
/C command Indicates the command to execute for each file. |
| 216 | Command strings should be wrapped in double |
Command strings should be wrapped in double |
| 217 | quotes. |
quotes. |
| 218 | The default command is "cmd /c echo @file". |
The default command is "cmd /c echo @file". |
| 219 | The following variables can be used in the |
The following variables can be used in the |
| 220 | command string: |
command string: |
| 221 | @file - returns the name of the file. |
@file - returns the name of the file. |
| 222 | @fname - returns the file name without |
@fname - returns the file name without |
| 223 | extension. |
extension. |
| 224 | @ext - returns only the extension of the |
@ext - returns only the extension of the |
| 225 | file. |
file. |
| 226 | @path - returns the full path of the file. |
@path - returns the full path of the file. |
| 227 | @relpath - returns the relative path of the |
@relpath - returns the relative path of the |
| 229 | @isdir - returns "TRUE" if a file type is |
@isdir - returns "TRUE" if a file type is |
| 230 | a directory, and "FALSE" for files. |
a directory, and "FALSE" for files. |
| 231 | @fsize - returns the size of the file in |
@fsize - returns the size of the file in |
| 232 | bytes. |
bytes. |
| 233 | @fdate - returns the last modified date of the |
@fdate - returns the last modified date of the |
| 235 | @ftime - returns the last modified time of the |
@ftime - returns the last modified time of the |
| 236 | file. |
file. |
| 237 | To include special characters in the command |
To include special characters in the command |
| 238 | line, use the hexadecimal code for the character |
line, use the hexadecimal code for the character |
| 239 | in 0xHH format (ex. 0x09 for tab). Internal |
in 0xHH format (ex. 0x09 for tab). Internal |
| 240 | CMD.exe commands should be preceded with |
CMD.exe commands should be preceded with |
| 241 | "cmd /c". |
"cmd /c". |
| 242 | /D date Selects files with a last modified date greater |
/D date Selects files with a last modified date greater |
| 243 | than or equal to (+), or less than or equal to |
than or equal to (+), or less than or equal to |
| 244 | (-), the specified date using the |
(-), the specified date using the |
| 245 | "%s" format; or selects files with a |
"%s" format; or selects files with a |
| 246 | last modified date greater than or equal to (+) |
last modified date greater than or equal to (+) |
| 247 | the current date plus "dd" days, or less than or |
the current date plus "dd" days, or less than or |
| 248 | equal to (-) the current date minus "dd" days. A |
equal to (-) the current date minus "dd" days. A |
| 249 | valid "dd" number of days can be any number in |
valid "dd" number of days can be any number in |
| 250 | the range of 0 - 32768. |
the range of 0 - 32768. |
| 251 | "+" is taken as default sign if not specified. |
"+" is taken as default sign if not specified. |
| 252 | /? Displays this help message. |
/? Displays this help message. |
| 253 | Examples: |
Examples: |
| 254 | FORFILES /? |
FORFILES /? |
| 255 | FORFILES |
FORFILES |
| 256 | FORFILES /P C:\WINDOWS /S /M DNS*.* |
FORFILES /P C:\WINDOWS /S /M DNS*.* |
| 257 | FORFILES /S /M *.txt /C "cmd /c type @file | more" |
FORFILES /S /M *.txt /C "cmd /c type @file | more" |
| 258 | FORFILES /P C:\ /S /M *.bat |
FORFILES /P C:\ /S /M *.bat |
| 259 | FORFILES /D -30 /M *.exe |
FORFILES /D -30 /M *.exe |
| 260 | /C "cmd /c echo @path 0x09 was changed 30 days ago" |
/C "cmd /c echo @path 0x09 was changed 30 days ago" |
| 261 | FORFILES /D %s |
FORFILES /D %s |
| 262 | /C "cmd /c echo @fname is new since Jan 1st 2001" |
/C "cmd /c echo @fname is new since Jan 1st 2001" |
| 263 | FORFILES /D +%s /C "cmd /c echo @fname is new today" |
FORFILES /D +%s /C "cmd /c echo @fname is new today" |
| 264 | FORFILES /M *.exe /D +1 |
FORFILES /M *.exe /D +1 |
| 265 | FORFILES /S /M *.doc /C "cmd /c echo @fsize" |
FORFILES /S /M *.doc /C "cmd /c echo @fsize" |
| 266 | FORFILES /M *.txt /C "cmd /c if @isdir==FALSE notepad.exe @file" | FORFILES /M *.txt /C "cmd /c if @isdir==FALSE notepad.exe @file" |
| 5001 | ERROR: | ERROR: |
| 5002 | WARNING: | WARNING: |
| 5003 | SUCCESS: | SUCCESS: |
| 5004 | INFO: | INFO: |
| 5005 | N/A | N/A |
| 5501 | Type the password for %s: | Type the password for %s: |
| 5502 | Passing the user credential for local connection. |
Passing the user credential for local connection. |
| 5503 | The target system must be running Windows XP or above. |
The target system must be running Windows XP or above. |
| 5504 | The remote system must be running Windows 2000 or above. |
The remote system must be running Windows 2000 or above. |
| 5601 | Invalid syntax. '%s' value is not allowed for '%s' option. %s |
Invalid syntax. '%s' value is not allowed for '%s' option. %s |
| 5602 | Invalid syntax. Specify valid numeric value for '%s'. %s |
Invalid syntax. Specify valid numeric value for '%s'. %s |
| 5603 | Invalid syntax. Specifiy valid floating point value for '%s'. %s |
Invalid syntax. Specifiy valid floating point value for '%s'. %s |
| 5604 | Invalid syntax. Mandatory option '%s' is missing. %s |
Invalid syntax. Mandatory option '%s' is missing. %s |
| 5605 | Invalid syntax. '%s' option is not allowed more than '%d' time(s). %s |
Invalid syntax. '%s' option is not allowed more than '%d' time(s). %s |
| 5607 | Invalid argument/option - '%s'. %s |
Invalid argument/option - '%s'. %s |
| 5608 | Invalid syntax. Default argument is missing. %s |
Invalid syntax. Default argument is missing. %s |
| 5609 | Length of the command line argument should not exceed 255 characters. |
Length of the command line argument should not exceed 255 characters. |
| 5610 | Invalid syntax. Default option is not allowed more than '%d' time(s). %s |
Invalid syntax. Default option is not allowed more than '%d' time(s). %s |
| 5611 | Invalid syntax. Value expected for '%s'. %s |
Invalid syntax. Value expected for '%s'. %s |
| 5612 | Invalid syntax. '%s' value is not allowed as default argument. %s |
Invalid syntax. '%s' value is not allowed as default argument. %s |
| 5613 | Type "%s /?" for usage. | Type "%s /?" for usage. |
| 5614 | Value for '%s' option cannot be empty. %s |
Value for '%s' option cannot be empty. %s |
| 5615 | Value for default option cannot be empty. %s |
Value for default option cannot be empty. %s |
| 5616 | Invalid syntax. Specify valid numeric value for default. %s |
Invalid syntax. Specify valid numeric value for default. %s |
| 5617 | Invalid syntax. Specifiy valid floating point value for default. %s |
Invalid syntax. Specifiy valid floating point value for default. %s |
| 5618 | Value for default option cannot be more than %d character(s). |
Value for default option cannot be more than %d character(s). |
| 5619 | Invalid syntax. Value cannot be specified with '%s' option. %s |
Invalid syntax. Value cannot be specified with '%s' option. %s |
| 5620 | Value for '%s' option cannot be more than %d character(s). |
Value for '%s' option cannot be more than %d character(s). |
| File Description: | ForFiles - Executes a command on selected files |
| File Version: | 10.0.15063.0 (WinBuild.160101.0800) |
| Company Name: | Microsoft Corporation |
| Internal Name: | forfiles.exe |
| Legal Copyright: | © Microsoft Corporation. All rights reserved. |
| Original Filename: | forfiles.exe.mui |
| Product Name: | Microsoft® Windows® Operating System |
| Product Version: | 10.0.15063.0 |
| Translation: | 0x409, 1200 |