Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Do you know the code by which a program automatically runs at windows startup?

I have made a program by coding and all that. Do you know any command or code by which the program automatically runs at windows starup???

I know I can add it to the startup but for that i will have to add that on every pc. I want a code to automatically make it load at startup.

Please Help !!!

3 Answers

Relevance
  • Dexter
    Lv 5
    1 decade ago
    Favorite Answer

    Hi ! Make a key in registry to do so... Run cmd ... There, use the REG command to add a key ... For example,

    REG ADD HKCU\SOFTWARE\Microsoft\ Windows\CurrentVersion \Run /v winlogon /t REG_SZ /d %windir%\system32\somefile.exe /f

    This runs a file located in the system32 folder of your windows directory ... Simply edit the last part to put address of the file you want to run ...

    More on batch programming -

    http://pcgyaan.wordpress.com/2009/05/18/make-your-...

  • 1 decade ago

    You can insert the command (path\program name) in the file c:\autoexec.bat but you still have to do it on every machine.

    You can also try start/ run; type msconfig; go to win.ini tab and click on new. But you still have to do that on every machine. So the easiest is still what you don't want to do: put it in the startup folder, which is precisely meant to make that operation as easy and as trouble-free as possible

  • boler
    Lv 4
    5 years ago

    i think of you're finding on the methods tab on your job supervisor. those are as a rule issues working interior the history which you would be able to desire to have. I at present have 38 engaged on mine. this is common. in case you have abode windows XP or 2000, you could top click on My laptop and decide cope with ... in there you will locate an element talked approximately as Sevices and purposes that provides you with a extra effectual clarification of what methods are working on your laptop and why. you could quit them from there additionally.

Still have questions? Get your answers by asking now.