Re: vbscript: how to generate a FolderItem2 object from a filename ?

"R.Wieser" <[email protected]>
Newsgroups alt.comp.os.windows-xp,alt.windows7.general
Organization A noiseless patient Spider
Message-ID <[email protected]>
Newyana2,

> '-- returns FolderItem2 objects.. do we care? It works.
> For Each oNSFile In oNSFolder.items
>    If oNSFile.Name = "river.png" Then

Yes, that was my first idea too.

But just imagine doing that on a folder with *lots* of files, or better yet 
: on a remote computer (with a slow connection) ...

Regards,
Rudy Wieser
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.