1801
Coding Snacks / Re: REQUEST: Program that deletes all files/subdirectories in a directory...
« on: October 16, 2007, 11:55 PM »
how about this then...
maybe not an exact fit, but it's small, and free...
DelAge32 deletes or moves files with a mimimum age given by the number of days.
Syntax: DelAge32 filespec days [options]
The files are specified by search pattern (e.g. *.* for all files), with relative or absolute path.
Options include: /recurse (subdirectories), /subonly (excluding initial directory), /includeRO, /rd (remove directory), /move target, /created (use "created" time stamp instead "last modified"), /accessed ..
Example: DelAge32 C:\some\where\*.* 100 /recurse
Deleted files are listed with age (number of days). The output can be redirected to a file.
With option /preview the action can be safely tested without actually deleting or moving files.
http://home.mnet-onl...t.muc/wbat32.htm#top
maybe not an exact fit, but it's small, and free...