#Shell.Namespace causing E_FAIL HResult

4 messages · Page 1 of 1 (latest)

winged wagon
#

I have a script that attempts to retrieve metadata for MP3 files. See below. I'm getting an exception when it tries to call Namespace in my Shell.Application object. I'm not understanding what's going on.

#

The line giving me issues is $objFolder = $objShell.Namespace($locCur). $locCur is a [string] containing a valid music file in this case.

#

It happens on multiple machines.