If you just want it to run for the user who's currently logged in, use this:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Run]
If you want it to run for anyone using the computer, use this:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Run]
And your "RegWrite" looks right to me...
|