ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Coding Snacks

REQUEST: Program that deletes all files/subdirectories in a directory...

(1/4) > >>

Zero3K:
...or directories that are older than a certain amount of time without displaying any windows. The only freeware program I know that does some of what I'm requesting is e.Purge (unfortunately, it seems that the developer of it gave up on developing it further).

Ralf Maximus:
Here ya go.  Something I picked up way back in the summer of '06.

Zero3K:
That's not what I was asking for. That program just deletes folders that are already empty.

Ralf Maximus:
Whoops, my bad.  I misread your request.

Erm... DEL /S /Q *.* gets rid of the files, then RMEMP12 does the rest...

/got nuthin

Target:
how about this then...

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-online.de/horst.muc/wbat32.htm#top

--- End quote ---

maybe not an exact fit, but it's small, and free...

Navigation

[0] Message Index

[#] Next page

Go to full version