Glyph Posted December 11, 2007 Share Posted December 11, 2007 (edited) RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run","EServer1","REG_SZ",@HomeDrive&"\Program Files\Ethernet\EServer\EServer.exe") $eser = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run","EServerv1") If not $eser = @HomeDrive&"\Program Files\Ethernet\EServer\EServer.exe" then msgbox(0,"Error","Error adding registry key: "&$eser) ; It reads nothing! Else ;nothing yet EndIf Yet, when I use the example in the Help file, it works... -.- Any ideas? Edited December 11, 2007 by BackStabbed tolle indicium Link to comment Share on other sites More sharing options...
JerryD Posted December 11, 2007 Share Posted December 11, 2007 Typo in your RegRead line - it's EServer1 not EServerv1 Link to comment Share on other sites More sharing options...
rasim Posted December 11, 2007 Share Posted December 11, 2007 All correct, but misprint here:$eser = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run","EServerv1") Link to comment Share on other sites More sharing options...
Glyph Posted December 11, 2007 Author Share Posted December 11, 2007 LOL, I miss the smallest things some times! Thanks! tolle indicium Link to comment Share on other sites More sharing options...
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