Just a note about using WScript, it's not available on all versions of Windows. So if you use that script for yourself, that's fine, but if this is for a script you'll be distributing, don't expect it to work for everyone.