FileDir utility has been updated and now it supports several new options. It can now expand full file names and use quoted file names. For more details and to download please see http://www.softtreetech.com/24x7/archive/46.htm. My personal favorite is using FileDir to cleanup old files. For example to cleanup old Oracle archive log files. I have scheduled the following command to run every night and delete all log files that are at least 10 days old. This keeps the disk space in check and prevents from pilling up of thousands of log files FileDir /C "cmd" /P "/c del d:\oracle\admin\sid\bdump\" /A 10 /N d:\oracle\admin\sid\bdump\*.log
|