If 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
Let’s say we add the command
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
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!
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?
Trending On Windows Themes .Net