Jump to content

RegRead in a variable, not working. =.=


Glyph
 Share

Recommended Posts

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 by BackStabbed

tolle indicium

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...