Re: How to get a file's title

Tech-Archive recommends: Fix windows errors by optimizing your registry




"mayayana" <mayaXXyana@xxxxxxxxx> wrote

What I meant was that Shell is not designed for file
system functionality, in contrast to the API functions,
FSO, etc.

FYI:
Managing Files and Folders Using the Windows Shell Object
http://www.microsoft.com/technet/scriptcenter/guide/sas_fil_igrf.mspx

That page, and the page containing the source code I adapted to VB
doesn't go into all the pitfalls you mention, and the page above actually
suggests its use for getting extended file properties. I figure if they say
its OK, and it works, why not? If it is good enough for administrative
scripting, it might be OK for what the OP intended....

REF:
Retrieving Extended File Properties
http://www.microsoft.com/technet/scriptcenter/guide/sas_fil_lunl.mspx

LFS


.