How to Autorun a .bat File From Startup

1,397

2

2

Posted in TechnologyMicrosoft

Introduction: How to Autorun a .bat File From Startup

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!

Step 1:

Share

    Recommendations

    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Microcontroller Contest

      Microcontroller Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    2 Comments