[THIN] Explorer shell folders in hkey_users\.default\ (reg_sz keys & environment variables)

  • From: "Joe Grainger" <jag@xxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Thu, 23 Mar 2006 11:42:10 +0000

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. 
************************************************************************

Other related posts: