Thread: Adding to Startup

  1. #1
    Registered User
    Join Date
    Feb 2013

    Adding to Startup

    Ok. I have my entire program created and working, but the only thing it needs to work is that one of its files is in the startup. Can I create a .bat or .cmd file that will move it to the startup of any computer?

  2. #2
    Registered User
    Join Date
    Mar 2005
    "..of any computer..."

    On windows the startup is a registry entry that tells the system to run a file on certain path, you can do it through the api functions; also nsis installer have its own script language that allows to work with the registry.

    The registry keys are

    //for single user installation
    //for all computer users
    (there are also other keys: Run, RunOnce, RunServices, RunServicesOnce)

    Last edited by Niara; 02-24-2013 at 09:02 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Adding program to startup
    By VeX92 in forum C++ Programming
    Replies: 4
    Last Post: 10-28-2007, 01:08 AM
  2. startup
    By sniper22 in forum C++ Programming
    Replies: 7
    Last Post: 03-10-2006, 11:56 AM
  3. Startup using STARTUP folder method for winXP & win98
    By hanhao in forum Windows Programming
    Replies: 2
    Last Post: 05-26-2005, 04:59 AM
  4. Run on Startup ?
    By Korhedron in forum Windows Programming
    Replies: 9
    Last Post: 01-05-2004, 03:57 PM
  5. need help with startup
    By excessone in forum Windows Programming
    Replies: 6
    Last Post: 02-06-2003, 02:42 PM