Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a .bat file autorun on pc startup

Tags:

batch-file

cmd

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?

like image 605
RandomGuy Avatar asked Sep 03 '25 09:09

RandomGuy


1 Answers

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.
like image 186
Junseok Joon Kang Avatar answered Sep 04 '25 23:09

Junseok Joon Kang



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!