Thank you very much NTDOC \:\)

Your script does the job.
I'll try to strip it to fit and work well in my login script.
If there things i need to check before adapting it for a login script, please let me know.

On the other hand, i'm still wondering why my script doesn't work. Can not find syntax errors in the RMDIR lines. Is it maybe the %userprofile% variable?

Thanks again