One could argue if your code is pure kix because it uses WMI and the Windows scripting host but at least it requires no external tools as my option does.

Just yanking your chain Arend no harm intended. You're e a great scripter

I'm always in for a solution that eliminates the use of external apps and therefore has les dependencies. It relies on WMI and Windows scripting host being present but those are both installed by default on every recent system.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.