Hi,
I want to copy certain files from the current user's 'Temporary
Internet Files' folder to another folder. I have working code that
uses the shell.application.Namespace(32) folder object to search
through the item names, and looks at the URL they came from to pick
out the folder items that meet my requirements.

I would like to use the file system object to copy the file to the
desired destination, and I realize that the shell folder's copyhere
method also works.

Problem: The file system object does not see the same file name in
the Temporary Internet Files folder's hidden subfolders (the actual
cache) as the shell folder item's name. Because the cache can
potentially contain the same file name from many different web sites,
the system adds an index within square brackets ([]) to every name.
For example, the first xxx.gif becomes xxx[1].gif; the second becomes
xxx[2].gif.

Question: How can I map the shell folder item information to a
particular FSO's file object? Is it even possible?

I am currently trying out setting up an empty folder and using the
shell folder copyhere method, copying the shell folder item of
interest into this empty folder so there is no confusion as to whether
it is the correct file, and them using FSO's FileMove method to move
that file to its final destination and rename it to its original name
without the [nn]. It just seems like there should be a direct way to
get from the shell folder item's name and other properties to the
FSO's file name and full path.

Thanks for any help and insights you can give me.

-Paul Randall