Windows User Profile Directories

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Windows User Profile Directories

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:35 pm

by Anonymous >> Wed, 16 Jun 2004 1:37:38 GMT

Hi,
Can anybody help. I am trying to relocate an ini file from the windows folder to the users profile in documents and setting. Is there a Jade method that locates this folder of some other way of identifying it. Thanks Haydn

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Windows User Profile Directories

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:35 pm

by Wanda >> Wed, 16 Jun 2004 4:56:05 GMT

The pathname is stored in the USERPROFILE environment variable. You can obtain the value using the GetEnvironmentVariable Windows API function, which is callable from JADE when defined as an external function.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 28 guests