My system logs in the event viewer are always full every now and then. A dialog will often pop up to say system log full. Thus it is quite troublesome to clear them manually. I would like to generate a script to clear the system and application log every week. Do you have any suggestion to go about doing it?
I would like to learn to write scripts in NT. Do you know where to get the resource or books on this area? Recently, I want to write a script to view the v$session in the database.
So I tried to execute the sever manager by putting C:\orant\Bin\svrmgr23.exe in the script. But I do not know how to pass the parameter such as "connect internal" to svrmgr. In unix this can be done using back file like this
svrmgrl << !
#another script which select from #v$session
How to do this in NT?