The question isn't whether REG.EXE will do variable substition - it is whether the command shell will do variable substition when it passes parameters (namely environmental variables such as this) to REG.EXE, at run time, in the context of an interpreted script, or command line. The command shell *will* do such variable substitution, so REG.EXE will simply have the right things passed to it. But if this isn't something you would either deduce, or believe from me, you could always try it and see! ;-) Neil > -----Original Message----- > From: David Nelson [mailto:djn@xxxxxxxxxxxxxxxxxx] > Sent: 11 October 2002 16:30 > To: thin@xxxxxxxxxxxxx > Subject: [THIN] Re: ACSR help (or replacement) > > > Will REG.EXE do variable substitution? Here's what I'm trying to do: > > I want to import a registry file that has a value > F:\Home\%USERNAME%. I want the registry to look like > F:\Home\ABC when it's done (where ABC is %USERNAME%). *********************************************************************** This e-mail and its attachments are intended for the above named recipient(s) only and are confidential and may be privileged. If they have come to you in error you must take no action based on them, nor must you copy or disclose them or any part of their contents to any person or organisation; please notify the sender immediately and delete this e-mail and its attachments from your computer system. Please note that Internet communications are not necessarily secure and may be changed, intercepted or corrupted. We advise that you understand and observe this lack of security when e-mailing us and we will not accept any liability for any such changes, interceptions or corruptions. Although we have taken steps to ensure that this e-mail and its attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. Copyright in this e-mail and attachments created by us belongs to Littlewoods. Littlewoods takes steps to prohibit the transmission of offensive, obscene or discriminatory material. If this message contains inappropriate material please forward the e-mail intact to postmaster@xxxxxxxxxxxxxxxxx and it will be investigated. Statements and opinions contained in this e-mail may not necessarily represent those of Littlewoods. Please note that e-mail communication may be monitored. Registered office: Littlewoods Retail Limited, Sir John Moores Building, 100 Old Hall Street, Liverpool, L70 1AB Registered no: 421258 http://www.littlewoods.com *********************************************************************** ********************************************** This weeks sponsor 99Point9.com 99Point9 helps solve your unresolved technical server-based questions, issues and incidents. http://www.99point9.com *********************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link. http://thethin.net/citrixlist.cfm