Hi Dennis, I couldn't say, since I have stayed away from Vista and have not yet moved up to 7 (would be nice!)
If you go to a cmd prompt and type SET, you will see a list of all the environment variables. Pick the one that gets you closest to where you are going and grab that with ENVVAL and hack from there. It is a good Idea to test on all versions of windows you are likely to encounter, so your system is robust. Have Fun, Dennis ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Thursday, April 01, 2010 12:49 PM To: RBASE-L Mailing List Subject: [RBASE-L] - RE: Help on Help Dennis, Wouldn't it be just "Documents" on Vista and higher? Reminds me where /temp folder may not be "where it belongs". Thanks, The other dennis Sent from my Verizon Wireless BlackBerry ________________________________ From: Dennis McGrath <[email protected]> Date: Thu, 1 Apr 2010 12:08:21 -0500 To: RBASE-L Mailing List<[email protected]> Subject: [RBASE-L] - RE: Help on Help Try Set var vHelpFile = (ENVVAL('USERPROFILE') + '\My Documents') Dennis McGrath ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Dennis Fleming Sent: Tuesday, March 30, 2010 6:55 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Help on Help Our customers have access to a context sensitive help file using the Help and Manual software (just like RBTI!). But Explorer doesn't let you read a help.CHM file off of a server or on the internet unless you explicitly change the registry for each user. And, most of our customers have restrictions on their PC where we can't put our help file in the \Windows\Help folder. So, the right place seems to be in the user's documents folder. On Windows XP, Vista, and 7, is the Documents folder always named "Documents"? Or do we have a CVAL function for that folder name. I wanted to add code to our app start up file like the following: vHelpfile = ("C:\users\" + (cval("userid")) + "\documents") I'm assuming it should be userid and not netuser. Thanks in advance, Dennis ***** Dennis Fleming IISCO www.TheBestCMMS.com<http://www.thebestcmms.com/> Phone: 570 775-7593 Mobile: 570 351-5290

