Jump to content

Recommended Posts

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

tolle indicium

Posted

All correct, but misprint here:

$eser = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run","EServerv1")

:)

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
×
×
  • Create New...