quote:
Originally posted by Lamaboy
Thanks, it works, but not quite.
code:
Error: Permission denied (code: -2146828218)
The folder is read only, so how else can I keep one specific window from recording chat logs?
Can you explain in detail what you're trying to do? Can you show all the code you have?
Because like it sounds now, you're trying to do something which you shouldn't be doing in the way you're doing it.
(Constantly removing a folder to prevent a certain chat log from being created is a very very bad way of doing things. And if that is what you're trying to do then the reason for the error is that you can not remove something which is locked and used by another program for writing stuff to it. Thus instead of trying to remove the logs (which you will not be able to do properly anyways) you should disable the chat logging itself.)