You can use forfiles to delete/move older files on Windows. However, you'll have to either shutdown the listener or find a utility that will allow you to delete/move an open file.
Forgot to mention, you do have an option to avoid shutting down the listener. You could run the following command to rename the listener.log file while the listener is running:
Code:C:\> lsnrctl LSNRCTL> SET LOG_FILE c:\oracle\network\log\new_listener.log




Reply With Quote