RandomGuy
RandomGuy

Reputation: 43

How to make a .bat file autorun on pc startup

So I created this program to launch overwatch and chrome when i open it.

@echo off
start Overwatch.exe
start Chrome.exe www.youtube.com
timeout 2 > exit

Can I somehow make it run automatically after turning on my pc?

Upvotes: 4

Views: 31012

Answers (1)

Junseok Joon Kang
Junseok Joon Kang

Reputation: 245

Here's the site you might want to look at:

https://www.computerhope.com/issues/ch000322.htm

Basically you want

Run a batch file at boot in Windows 8 and 10 users

  1. Create a shortcut to the batch file.

  2. Once the shortcut has been created, right-click the file and select Cut.

  3. Press the Start button and type Run and press enter.

  4. In the Run window, type shell:startup to open the Startup folder.

  5. Once the Startup folder has been opened, click the Home tab at the top of the folder and select Paste to paste the shortcut into the folder.

Upvotes: 9

Related Questions