/build/static/layout/Breadcrumb_cap_w.png

Nethood Script

What I need help with is a script that would look for what is in users "nethood" folder on XP workstations. Any help would be great!

Thank You

0 Comments   [ + ] Show comments

Answers (1)

Posted by: Garrett 19 years ago
Orange Belt
0
Set objShell = WScript.CreateObject("Shell.Application")
set objFolder = objShell.Namespace(&H13&)
set objFolderItem = objFolder.Self
msgbox "NetHood Path: " & objFolderItem.path

&H13& is the Special Folder Constant for Nethood. This code will return the Nethood directory of the person that executes the script.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ