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