For some reason the startup value in my computer does not match the value I create it as when I run the code...
The startup value in MsConfig says "Project1" instead of "test". How can I fix this?
Code:
Dim Reg As Object
Set Reg = CreateObject("wscript.shell")
Reg.RegWrite "HKCU\Software\Microsoft\windows\CurrentVersion\Run\test", "C:\test.exe", "REG_SZ"