Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run at start up

Status
Not open for further replies.

801119

Programmer
Apr 10, 2000
311
SE
Howdee all...

I know I can solve my problem with the register, I simply don't know which keys to fuddle with =)
all I want to do is when running program doh.exe it will copy it self to a location on C, and add a key to the registre to always run at startup.. but which key?! [noevil]

regards...801119 My codes look like something a kid wrote
I have absolutely no idea what I am talking about
Somehow I still manage to make it work
 
HKCU or HKLM
Software\\Microsoft\\Windows\\CurrentVersion\\Run
ProgName=C:\yourprog.exe

The name of the string value (ProgName) can be anything you want, probably the name of your program. The value is the path to the program's exe file. [Thanks in advance|Hope I helped you]
Exodus300
World-Wide Alliance of Evil and Twisted People
[red]"Experimentation by Example is the best learning tool" - Exodus300[/red]
Code:
if (pop_tarts == 0)
{
   tantrum = 1;
}
[pc3]
 
Cheers, will try that tomorrow!! =) My codes look like something a kid wrote
I have absolutely no idea what I am talking about
Somehow I still manage to make it work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top