Thanks for the correction. The syntax is what I once found in a scripting forum. I had no chance to test it myself because I'm on Win98.