Hi,
I am looking at desktop icons and want to delete only icons that meet a
criteria of having a specific value in the "Start in" property. Currently,
I'm only looking to display those names that meet this requirement, but I've
come across a roadblock. I can't even figure out how to extract that
property or even if it's possible. I have the following code:
Const ALL_USERS_DESKTOP = &H19&
Set objApp = CreateObject("Shell.Application")
Set objShell = Wscript.CreateObject("WScript.Shell")
Set objFolder = objApp.Namespace(ALL_USERS_DESKTOP)
Set objFolderItem = objFolder.Self
Wscript.Echo objFolderItem.Path
Set colItems = objFolder.Items
For Each objItem In colItems
sResult = sResult & " " & objItem.TargetPath & vbCrLf
Next
wScript.Echo sResult
Does anyone have a suggestion?
Thanks in Advance,
JeffH