![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | how to delete/rename log file use by process Hello- I need some help in vb scripting for delete/rename a log file say server.log which is use by java application and log keeps growing. I want to roll over this log every midnight and and start the new log with fress entry. I tried simple delete/rename command scripts but I get error " file is used by another process" and can archive the log and it keep growing in size which is difficult to manage or stop the process to do the cleanup. thanks, Ajay system administrator |
My System Specs![]() |
| | #2 (permalink) |
| | Re: how to delete/rename log file use by process "Ajay Kumar" <AjayKumar@xxxxxx> wrote in message news:596A0B49-0009-4BB9-A935-D06F1411B15A@xxxxxx Quote: > Hello- > > I need some help in vb scripting for delete/rename a log file say > server.log > which is use by java application and log keeps growing. > > I want to roll over this log every midnight and and start the new log with > fress entry. > > I tried simple delete/rename command scripts but I get error " file is > used > by another process" and can archive the log and it keep growing in size > which > is difficult to manage or stop the process to do the cleanup. > > thanks, Ajay > system administrator |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Cant delete, rename, ect. tried admin rights, moveonboot, ect., and the file is empty | Vista file management | |||
| how to rename/remove log file used by process | VB Script | |||
| Can't delete/rename file being previewed in Windows Explore | Vista General | |||
| Can't open, rename, delete, or move a file.... | Vista General | |||
| Can't Delete/rename/move a file.. | Vista security | |||