Great! Thanks. This did the trick. Now, only one question. If I have the line:

Set Folder = App.Namespace( X )

How can I check if the 'folder' was actually 'defined'. Is there some kind of an IFExist instruction, that can be used, to check, if the above line actually did work. Why I am asking, is that if X is set to certain values, the script halts. Other X values, do work perfectly. So to have the script continue, I need to check if the actual value of X, really did 'define' the 'Folder' object in the above line. Hope my question makes sense. If not, let me know, and I will try to describe a bit more.
Thanks again,

----- Original Message ----- From: "Jamal Mazrui" <[email protected]>
To: <[email protected]>
Sent: Sunday, January 10, 2010 1:59 PM
Subject: Re: Standard paths in Windows


Another useful article on this topic is

Microsoft Windows 2000 Scripting Guide - Enumerating Special Folders
http://technet.microsoft.com/en-us/library/ee176604.aspx

Jamal



--
I am using the free version of SPAMfighter.
We are a community of 6 million users fighting spam.
SPAMfighter has removed 253 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

The Professional version does not have this message


Reply via email to