sdsm Posted January 27, 2006 Posted January 27, 2006 Hello,This error makes no sense to me and i'm sure I'm missing something simple. Here is the code in the example:; Write a single REG_SZ value RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE", "TestKey", "REG_SZ", "Hello this is a test")Here is my code:; Write a single REG_SZ value RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\ Environment", "LSFORCEHOST", "REG_SZ", "14.221.5.26")When I execute it comes up with this error:What am I missing??Thanks for your help.
Developers Jos Posted January 27, 2006 Developers Posted January 27, 2006 is your regwrite on one line ? ; Write a single REG_SZ value RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment", "LSFORCEHOST", "REG_SZ", "14.221.5.26") SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
sdsm Posted January 27, 2006 Author Posted January 27, 2006 is your regwrite on one line ? ; Write a single REG_SZ value RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment", "LSFORCEHOST", "REG_SZ", "14.221.5.26") That was it! Thanks!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now