Creating a .BAT file to add entry in registry

Joined
Jul 21, 2009
Messages
6
Reaction score
0
I am trying to do a regisrty tweak that will add a new string value to an exsiting registry key.

I thought that I had the .REG file correct but I can not seem to get the registry entry to appear.

Here is the contents of my .REG file -

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\SDI\TN3270 Plus\Configuration]
"DataPath"="C:\Program Files\SDI\TN3270 Plus\"

I am trying to get a new string value called DataPath within the HKEY_LOCAL_MACHINE\Software\SDI\TN3270 Plus\Configuration key and have the Value Data equal the path of C:\Program Files\SDI\TN3270 Plus\

Should be pretty cut and dry but I guess I am missing somethig. Any help would be great!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top