Install scriptomatic from Microsoft (freeware - imagine that) and let it generate the wmi code for you. You can then pull it into Fox.
John Harvey -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ted Roche Sent: Friday, September 29, 2006 8:06 AM To: [email protected] Subject: Re: Get location (full path) of Documents and Settings On 9/29/06, Paul Newton <[EMAIL PROTECTED]> wrote: > > I am trying to print out the hierarchy of the windows Start Menu - so I > need the location of Documents and Settings and if the user's Visual > FoxPro My Documents directory is not in its default location then your > suggestion will not work - it works fine otherwise, so thank you. > So, you'll likely want to find an example that uses the Win32API call to GetSpecialFolderLocation. I'll bet that news2news or one of those sites would have it. I Googled "Win32API documents directory" and found http://www.microsoft.com/msj/0597/win320597.aspx -- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

