I wrote these for myself, but thought they might appeal to the command- line aficionados on this list: two compiled Windows (AutoIt) scripts for pruning unwanted/unneeded files. Both operate on a single, specified directory (not subdirs). 1) DelOlder.exe: Lists/recycles/deletes files of a certain age or older (age specified in days, months, or years). So, for example, if you wanted to recycle or delete all .BAK files aged 180 days or older, the command would be: DelOlder.exe d:\path\*.bak 180 days /Recycle DelOlder.exe d:\path\*.bak 180 days /Delete 2) PareDir.exe: Reduces a directory to a specified size by recycling or deleting files, starting with the oldest and smallest. For example, if you had a backup directory that you wanted to pare down to 1 GigaByte (1,000 MegaBytes), you would command (from time to time): PareDir.exe d:\MyBackup 1000 /Recycle PareDir.exe d:\MyBackup 1000 /Delete Command DelOlder.exe and PareDir.exe, no arguments, to see full usage details. There is some built-in idiot-proofing. In both programs, if you omit both /R(ecycle) and /D(elete) from the command, you'll just get a list of the files that would have been recycled or deleted had /R or /D been included. Also, smart users (everyone here!) will test these scripts on a dummy directory to see how they work, before attempting to deploy them in real life. Available here: https://xywwweb.ammaze.net/dls/DirPruneTools.zip I've tested these scripts thoroughly, but if you experience any glitches, by all means let me know. -- Carl Distefano cld@xxxxxxxxxx