Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Unable to clear text in a log file
Name: nitin663 Date: February 17, 2009 at 23:16:53 Pacific OS: Windows XP Subcategory: General
Comment:
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.
Summary: I realize there are other posts about said topic, but I can't quite figure it out so I thought I would just post my own message. I have a file containing the text "SerialItemStatisticField=3" without ...