How to Autorun a .bat File From Startup

by GreyFascader in Circuits > Microsoft

5878 Views, 2 Favorites, 0 Comments

How to Autorun a .bat File From Startup

icon.png

Ok, so the first thing you want to do is make a basic program through notepad. (I use notepad++)

We want the computer to give you an option of launching google or not when you boot up.

We can do this by making a .bat (or batch) file. To start we want to type @echo off (with the space) like this.

@echo off

After you do that hit enter then type :echo Hello World

After that type :pause

Then is should look like this

@echo off

echo Hello World

pause

save that as a STARTUP.bat Then open the start menu go to all programs then drag into startup. :)

Done!