Hi Joe, If REG_SZ works without giving you problems, then it should be okay for you. However, I always use REG_EXPAND_SZ simply because Microsoft say you should. With REG_EXPAND_SZ string values, you can safely use environment variables for paths that are stored in the registry. This ensures that the any environment variable used is correctly expanded. Leaving it as a REG_SZ value can provide inconsistent results depending on how well the application accessing the keys has been written. As a note you shouldn't be directly modifying the anything under the "Shell Folders" key, just the "User Shell Folders" key. And whilst you can change the REG type, you can delete the REG_SZ and recreate it as a REG_EXPAND_SZ. Whilst that's not a difinitive answer, it may give you a guide. Kind regards, Jeremy Saunders Senior Technical Specialist Integrated Technology Services & Cerulean IBM Australia Level 2, 1060 Hay Street West Perth WA 6005 Visit us at http://www.ibm.com/services/au/its P: +61 8 9261 8412 F: +61 8 9261 8486 M: TBA E-mail: jeremy.saunders@xxxxxxxxxxx "Joe Grainger" <jag@xxxxxxxxxxxx o.uk> To Sent by: <thin@xxxxxxxxxxxxx> thin-bounce@freel cc ists.org Subject [THIN] Explorer shell folders in 23/03/2006 07:42 hkey_users\.default\ (reg_sz keys PM & environment variables) Please respond to thin Hi all, I've researched this one briefly, using google, tweaking keywords, and limiting search results by domain. (e.g. using site:microsoft.com) Viewing the contents of the registry, the default key value is always REG_SZ, and can't be changed. On Windows 2003 Server, because the default value is REG_SZ, can you modify a default value to include an environment variable? E.g Replacing âc:\documents and settings\administrator\recentâ with â%userprofile%\recentâ I have found Microsoft Knowledge Base articles which do state that to use environment variables, you have to use the REG_EXPAND_SZ value type. However I can't find a definitive answer to my question before I run any tests. Thanks! Joe Hazlewoods LLP - Chartered Accountants and Business Advisers Offices in Cheltenham Tel 01242 237661, Gloucester Tel 01452 634800 and Staverton Tel 01242 680000. Members: Harvey Grove FCA FCCA Andrew Brookes FCA CF Jon Cartwright FCCA ATII TEP Nick Dee ACA Tony Flambard FCCA David Granger FCA FCCA Jonathan Harvie FCA David Main FCCA Christopher Mourton FCCA David Pierce FCA FCCA Adrian Randle FCA FCCA TEP Graham Rew FCA Philip Swan FCA ATII Norman Webber FCCA CF David Williams FCA Website www.hazlewoods.co.uk. Registered by the Institute of Chartered Accountants in England and Wales to carry out company audit work. Authorised and Regulated by the Financial Services Authority. Registered in England. Partnership No: OC311817 ************************************************************************ DISCLAIMER: The contents of this Email and attachments are confidential to the ordinary user(s) of the Email address(es) to which it was sent and may be legally privileged. Hazlewoods LLP accepts no responsibility for the content of this Email, or the actions taken on the basis of the information provided, unless that information is subsequently agreed in writing. ************************************************************************