Windows 2000 Resource Kit Forfiles
This is the syntax for the version of forfiles.exe for Windows 2000 that i have used for a while. I believe i got it from from here I found a version from microsoft here, but possibly this is from NT4?
Source code for the POSIX utilities on the Windows 2000 Resource Kit. Microsoft Windows NT 4 and Windows 2000 Resource Kits include a.
Not sure, although file properties list this as 5.0.2010.1, same syntax below. Anyway in my version, as you can tell from the syntax below, the switchs are dashes (-), not slashes (/). And there are no spaces between the switches and their parameters. Thus forfiles /v /c 'cmd /c echo Found @file' would be forfiles -v -c'cmd /c echo Found @file' Also, in my version @FILE must be in UPPER CASE.
FORFILES v 1.1 - by Emmanuel Boersma - 4/98 Syntax: FORFILES [-pPath] [-mSearch Mask] [-ccommand] [-dDDMMYY] [-s] -pPath Path where to start searching -mSearch Mask Search files according to -cCommand Command to execute on each file(s) -d[+ -][DDMMYY DD] Select files with date >= or = or 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-010193 -c'CMD /C Echo @FILE is quite old!' This is the syntax for the version of forfiles.exe for Windows 2000 that i have used for a while.
I believe i got it from from here I found a version from microsoft here, but possibly this is from NT4? Not sure, although file properties list this as 5.0.2010.1, same syntax below. Anyway in my version, as you can tell from the syntax below, the switchs are dashes (-), not slashes (/). And there are no spaces between the switches and their parameters. Thus forfiles /v /c 'cmd /c echo Found @file' would be forfiles -v -c'cmd /c echo Found @file' Also, in my version @FILE must be in UPPER CASE. FORFILES v 1.1 - by Emmanuel Boersma - 4/98 Syntax: FORFILES [-pPath] [-mSearch Mask] [-ccommand] [-dDDMMYY] [-s] -pPath Path where to start searching -mSearch Mask Search files according to -cCommand Command to execute on each file(s) -d[+ -][DDMMYY DD] Select files with date >= or = or 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-010193 -c'CMD /C Echo @FILE is quite old!'
This is the syntax for the version of forfiles.exe for Windows 2000 that i have used for a while. I believe i got it from from here I found a version from microsoft here, but possibly this is from NT4? Not sure, although file properties list this as 5.0.2010.1, same syntax below. Anyway in my version, as you can tell from the syntax below, the switchs are dashes (-), not slashes (/). And there are no spaces between the switches and their parameters. Thus forfiles /v /c 'cmd /c echo Found @file' would be forfiles -v -c'cmd /c echo Found @file' Also, in my version @FILE must be in UPPER CASE.
FORFILES v 1.1 - by Emmanuel Boersma - 4/98 Syntax: FORFILES [-pPath] [-mSearch Mask] [-ccommand] [-dDDMMYY] [-s] -pPath Path where to start searching -mSearch Mask Search files according to -cCommand Command to execute on each file(s) -d[+ -][DDMMYY DD] Select files with date >= or = or 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-010193 -c'CMD /C Echo @FILE is quite old!' This is the syntax for the version of forfiles.exe for Windows 2000 that i have used for a while. I believe i got it from from here I found a version from microsoft here, but possibly this is from NT4? Not sure, although file properties list this as 5.0. Pinnacle Studio 14 Ultimate Collection Serial Number. 2010.1, same syntax below. Anyway in my version, as you can tell from the syntax below, the switchs are dashes (-), not slashes (/). And there are no spaces between the switches and their parameters.