Connecting Tech Pros Worldwide Forums | Help | Site Map

Start program @ bootup

Member
 
Join Date: Jul 2007
Location: Toronto, Canada
Posts: 84
#1: Dec 28 '07
Hi,
I have a program (or exe file) which I want to load every time I start my computer and login. Can anyone please tell me how to do this.
Thanks

epots9's Avatar
Moderator
 
Join Date: May 2007
Location: Canada
Posts: 1,313
#2: Dec 28 '07

re: Start program @ bootup


Create a new Scheduled Task, with the wizard set it so it runs everytime you login.
Member
 
Join Date: Jul 2007
Location: Toronto, Canada
Posts: 84
#3: Dec 28 '07

re: Start program @ bootup


Thanks for the reply but I want to know if there is any other way to do it?
epots9's Avatar
Moderator
 
Join Date: May 2007
Location: Canada
Posts: 1,313
#4: Dec 28 '07

re: Start program @ bootup


try making a registry entry at:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Run

create a new key string, name it what you want
double click the key
enter the path to the exe in the data field
Newbie
 
Join Date: Dec 2007
Posts: 10
#5: Dec 31 '07

re: Start program @ bootup


I used this article to make a program automatically run at startup at my last co-op using the MMC console. It worked great, something you might try. Not sure if you can get the program to login as well though.

-PunchBack
Member
 
Join Date: Jul 2007
Location: Toronto, Canada
Posts: 84
#6: Dec 31 '07

re: Start program @ bootup


which article you are referring to?
Member
 
Join Date: Aug 2007
Posts: 80
#7: Jan 3 '08

re: Start program @ bootup


you could write a batch and put that in the startup folder,

C:\Documents and Settings\All Users\Start Menu\Programs\Startup

that way the batch will be executed when you log-in. You could also specify what user if you replace All Users with a specific user. That way the batch won't be run everytime anyone logs on, but just when a specific user logs on.

I'm not much of a programmer, but i think something like this should work:

Expand|Select|Wrap|Line Numbers
  1. @ECHO OFF
  2. <path\file.exe>
  3. EXIT
  4.  
or

Expand|Select|Wrap|Line Numbers
  1. @ECHO OFF
  2. START <path\file.exe>
  3. EXIT
  4.  
and then save it in the startup folder as <somename>.bat the .bat has to be at the end.
ambrnewlearner's Avatar
Expert
 
Join Date: Jan 2008
Location: A city in my country ;)
Posts: 855
#8: Mar 6 '08

re: Start program @ bootup


Instead of putting the path of file in a batch file and putting it in startup folder, you can also put the path of file you wanna run in AUTOEXEC.bat file in root partition marked bootable on Hard disk.
__________________________________________________ _______________
Hope this helps
Newbie
 
Join Date: Jun 2008
Posts: 5
#9: Jun 29 '08

re: Start program @ bootup


Quote:

Originally Posted by ambrnewlearner

Instead of putting the path of file in a batch file and putting it in startup folder, you can also put the path of file you wanna run in AUTOEXEC.bat file in root partition marked bootable on Hard disk.
__________________________________________________ _______________
Hope this helps

You can always (win xp/98) go into the start directory and create a shortcut to the program.

Ex: program located at c:\mystuff\p1.exe

Then, go to the startup directory (as an example)
C:\Documents and Settings\Owner\Start Menu\Programs\Startup
Right-click and create a shortcut -
Name it whatever you want and put the location as listed for the p1.exe but substitute your directory and file name.

Hope it's helpful!
Reply