Contact Info

Crumbtrail

ActiveXperts.com » Administration » Scripts » Adsi

List Path to the My Pictures Folders in Windows

You can use any of the VBScript programs below in ActiveXperts Network Monitor. Click here for an explanation about how to include scripts in ActiveXperts Network Monitor.

List Path to the My Pictures Folders in Windows using VBScript, WMI and LDAP

Example(s)

Const MY_PICTURES = &H27&
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_PICTURES) 
Set objFolderItem = objFolder.Self      
Wscript.Echo objFolderItem.Name & ": " & objFolderItem.Path