Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WshShell.SpecialFolders(
Message
From
29/08/2002 04:51:30
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00692065
Message ID:
00694828
Views:
12
>This information is stored in the registry. You can use TweakUI tool from http://www.microsoft.com/ntworkstation/downloads/powertoys/networking/nttweakui.asp to view/edit it.
>
>>I use the following code to extract the user's default path to their "My Documents". My question is,is this example extracting for the registry, if no then where? Reason, we have one workstation that is failing. Therefore, we need to figure out why the MyDocuments exists via explorer but fails via wshshell for that user only.
>>
>>
>>WshShell = CreateObject("WScript.Shell")
>>RETURN (WshShell.SpecialFolders("MyDocuments"))

If you are running Win95 and do not have the updated shell components installed, you need the downloadable and redistributable SHELL.DLL from the MS Web Site - this handles a number of the SH-series API calls related to the CSLID folder location translations.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform