Why don't you just a batch file program that will run one of the *.reg files based on the user choice
-----Original Message----- From: Windows Home/SOHO [mailto:[EMAIL PROTECTED] On Behalf Of Diane Poremsky Sent: December 14, 2005 8:47 AM To: [email protected] Subject: can a batch write to the registry? I need to change a key in the registry based on user input - can a batch write the key without calling a reg file? (ie, the key and value are in the batch itself, not a separate file that is called) The problem: the user will have 3 choices - and that means 3 regs. I'd rather use just one file... And yes, I know what I really need to do is read the key and make the change without user input (it's safe to assume if value a is in the key, then value a(1) should replace it) - but I'm too lazy (actually too hurried) to write an exe to do that right now. -- ---------------------------------------- To Change your email Address for this list, send the following message: CHANGE WIN-HOME your_old_address your_new_address to: [EMAIL PROTECTED] Note carefully that both old and new addresses are required. -- ---------------------------------------- To Change your email Address for this list, send the following message: CHANGE WIN-HOME your_old_address your_new_address to: [EMAIL PROTECTED] Note carefully that both old and new addresses are required.
