nitin663 February 17, 2009 at 23:16:53 Specs: Windows XP
I work with a portal server which actually has log files which get updated while server is running.I was able to clear the text in the log file while the server doesnt run but when i tried to do the same while running the server i couldnt clear the text in the file. the command i used to clear when the server doesnt run is for %%f in (C:\wsapps\ebp\deployment\logs\portal.log) do (type nul > %%f)
Can you sugget how to change the command so that i can clear the text while my server is running.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.