myReg = CREATEOBJECT("WScript.Shell") runPath = "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\RunTest" myReg.RegWrite( runPath,"C:\MyTest.EXE","REG_SZ" )You can change RunTest with whatever You want & of course You must change C:\MyTest.EXE to fullpath & filename of Your application