FORFILES v1.1:

This NT command's functionality somewhat resembles the UNIX find command. It can be used to select files in a particular subdirectory matching a specified wildcard mask and a date or age criteria, and run another command on the files selected. The command to run on each selected file can be any valid Console command or NT executable that sends and receives information via STDIN/STDOUT, such as DEL, REN, MOVE, COPY, COMPACT, PKZIP, etc. The original version of the FORFILES command was included in the NT Resource Kit, but had somewhat limited functionality for file selection by date or age criteria. This updated version has much improved functionality. (Many thanks to Emmanuel Boersma at Microsoft Corporation for providing permission to make this command available from the ORACLE on NT site.)

Download forfiles.zip (20K)