is there an easy way (WORKING) to add my Program to startup?
1 year ago i found an 1 line code to do it , but i lost it :S
thanks for your help!
(english not my first language , sorry)
is there an easy way (WORKING) to add my Program to startup?
1 year ago i found an 1 line code to do it , but i lost it :S
thanks for your help!
(english not my first language , sorry)
Code:Set regshell = CreateObject("Wscript.Shell") regshell.regwrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\" & yourkeyvalue, yourkeydata
http://breakingsecurity.net - my website containing my coding jobs!
i wouldnt use that. id use this
if you try the code you posted it wont work with uac on use current_user and it works on xp, vista,win 7Code:Set regshell = CreateObject("Wscript.Shell") regshell.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\" & yourkeyvalue, yourkeydata
yourkeyvalue, yourkeydata
what i write there?![]()
got it
Set regshell = CreateObject("Wscript.Shell")
regshell.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Run\" & "WinLog0n", App.Path & "\" & App.EXEName & ".exe"
thanks for your help!
and how i delete it? regdelete??...
There are currently 1 users browsing this thread. (0 members and 1 guests)