Run Commands On Startup_thumb.jpg 1If you have some commands that you want to run whenever you log in on startup, you can simply add shortcuts to batch files to the startup folder.

Easiest Solution: Add Command To .Bat File And Move To Startup Folder

1. Step Open up a notepad and write your command that you would normally run via cmd command prompt. Then save the files as a batch file. If you don’t know how to do that I suggest you read our tutorial how to save notepad as .bat file

Click here to join Ultra.io - Rare NFTs and Play-to-Earn Games or Read my review first!

Let’s say we add the command

perfmon.exe

or if you want to copy something to your clipboard whenever you start your PC

DIR /B /A:-D /O:N | clip

2. Step When you saved the .bat file simply move the batch file to

C:\Users\(username)\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

If you are having problems locating this startup folder read our tutorial start folder location

3. Step Now whenever you start your PC it will automatically run that batch file.

Any questions? Let us know!

Alternatives

There are lots of alternatives to this. For example, I’m pretty sure that you could come up with a nice solution using AutoHotkey but it’s really easy with batch files so why make easy things more complicated than necessary?