Run app automatically when windows start | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Run app automatically when windows start

How do we make our own c++ program to run automatically in each time the windows restarts. This is very useful in certain situations.

7th Apr 2019, 10:29 AM
Alex Schmidt
Alex Schmidt - avatar
6 Answers
+ 1
You can add the executable file to your autostart folder.
7th Apr 2019, 11:09 AM
Dragonxiv
Dragonxiv - avatar
+ 1
Or turn you app into service, Google it there are hundreds of tutorials
7th Apr 2019, 11:45 AM
Elva
Elva - avatar
0
Thanks for the answers I will try indeed
7th Apr 2019, 2:20 PM
Alex Schmidt
Alex Schmidt - avatar
0
But what if I want that to be added automatically. You mite have seen some programs that you installed on your own pc that run on their own although you didn't add them to autorun folder. Their should be a way to add them automatically and this is what I am looking for An example of that is Discord desktop app
7th Apr 2019, 2:23 PM
Alex Schmidt
Alex Schmidt - avatar
0
What those programms do is than in the instalatuon process they put an executable in the autorun folder. You might wanna google about how an installer works.
7th Apr 2019, 3:52 PM
Dragonxiv
Dragonxiv - avatar
0
Ok thanks for the help
7th Apr 2019, 5:04 PM
Alex Schmidt
Alex Schmidt - avatar