Jump to content

Hello, I am looking to make a program that runs on the startup of my computer. I don't know how to do this, as in whether it would be coded in cmd prompt or what. However if someone could give me basic guidance in making a program that would run the second my computer starts up or if that's even possible?

Link to comment
https://linustechtips.com/topic/755335-making-an-on-start-program/
Share on other sites

Link to post
Share on other sites

You can make any program start when your computer turns on.

It does not need to be coded in any special way.

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to post
Share on other sites

24 minutes ago, DyroZang said:

Hello, I am looking to make a program that runs on the startup of my computer. I don't know how to do this, as in whether it would be coded in cmd prompt or what. However if someone could give me basic guidance in making a program that would run the second my computer starts up or if that's even possible?

Either copy paste like @Macimoar said or create a new Task Scheduler

Link to post
Share on other sites

Assuming you're on Windows (from talking about cmd.exe), it's very easy to make a program run on startup. The only requirement for a program to run on startup is that it is a valid Windows executable, or calls a valid Windows executable. For example, let's say you wanted an instance of Firefox to start everytime you log into Windows. On Windows 7 and above, you'd first navigate to your Firefox exe (C:\Program Files (x86)\Mozilla Firefox\firefox.exe on my system). Then, right click and create a shortcut to firefox.exe (it may tell you that you can't make one in the current directory, and ask if you want to make it on the desktop instead, that's fine). Then, move the shortcut to the startup directory. This will be located in your home directory, inside of a hidden directory. So assuming your username is bob, move the shortcut to C:\Users\bob\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\. Any .exe file in this directory will be run when that user logs in. It's that simple.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×