A
Andy Welcomer
Hello Everyone,
I have a fun one here that I can't figure out.
I need to write script that edits keys in the registry. My regedit command
calls a file that has the following entries in it
[HKEY_CURRENT_USER\Software\Hummingbird\Connectivity\8.00\Exceed]
***"EB"=REG_SZ:C:\Documents and Settings\"%username%"\Application
Data\Hummingbird\Connectivity\8.00\Accessories\EB\***
"FontDir"=REG_SZ:\Program Files\Hummingbird\Connectivity\8.00\Exceed\Font\
"HomeDir"=REG_SZ:\Program Files\Hummingbird\Connectivity\8.00\Exceed\
"InfoDir"=REG_SZ:\Program Files\Hummingbird\Connectivity\8.00\Exceed\Info\
***"UserDir"=REG_SZ:C:\Documents and Settings\%username%\Application
Data\Hummingbird\Connectivity\8.00\Exceed\***
The ones surrounded by *** are the ones that don't work. I'm pretty sure
its because I tried to use %username%. How do I fix this?
Thank you in advance
Andy
I have a fun one here that I can't figure out.
I need to write script that edits keys in the registry. My regedit command
calls a file that has the following entries in it
[HKEY_CURRENT_USER\Software\Hummingbird\Connectivity\8.00\Exceed]
***"EB"=REG_SZ:C:\Documents and Settings\"%username%"\Application
Data\Hummingbird\Connectivity\8.00\Accessories\EB\***
"FontDir"=REG_SZ:\Program Files\Hummingbird\Connectivity\8.00\Exceed\Font\
"HomeDir"=REG_SZ:\Program Files\Hummingbird\Connectivity\8.00\Exceed\
"InfoDir"=REG_SZ:\Program Files\Hummingbird\Connectivity\8.00\Exceed\Info\
***"UserDir"=REG_SZ:C:\Documents and Settings\%username%\Application
Data\Hummingbird\Connectivity\8.00\Exceed\***
The ones surrounded by *** are the ones that don't work. I'm pretty sure
its because I tried to use %username%. How do I fix this?
Thank you in advance
Andy