Downloads |
---|
19621.zip |
For administrators who manage applications that generate accumulative log files, I have a way to rename a file by date. For example, Oracle creates an Alert log file that can grow quite large. I wrote a VBScript routine, which Listing 1 shows, that timestamps the log file and renames it with a filename that reflects the date Oracle created the log. The following wrapper batch file calls the script in Listing 1 so that you can use the At command to schedule the script to run
cscript datefile.vbs //nologo
0 comments
Hide comments