Any way to access the Public folder (Vista) or Shared (XP)
I'm looking for vbscript to access the Public folder in Vista. I'm using shell and enumeration of special folders, but haven't found any for public or shared.
Anyone have a workaround?
I'm looking for vbscript to access the Public folder in Vista. I'm using shell and enumeration of special folders, but haven't found any for public or shared.
Anyone have a workaround?
You can use the below to detect Vista (and I'm sure Google will confirm the XP version), and then can you not go to the location directly? i.e. c:\users\public.
Not many people change this location, and if you find (via vbscript) that the directory does not exist, you could prompt the user to locate it.
Thanks Martin.
I decided to go with the direct solution and prompt. Wanted to make the shortcuts with as little user configuration as possible, but I guess one or two prompts won't hurt.
Martin,
Nice to see you around again!
Welcome Guest! Please take the time to register with us.