Run Batch File (.BAT) on Startup in Windows

The easiest way to run a batch file on a system startup is to place it in the Windows “Startup” folder or drop there a shortcut.

Programs placed in this folder are meant to run automatically whenever the computer boots up.

In this note i will show how to run a batch file on a system startup for the “Current User” and for “All Users”.

Cool Tip: Create a batch file to run an .exe program! Read more →

Run Batch File on Startup

Press the Win + R keyboard shortcut to launch the “Run” dialog.

To open the “Startup” folder for the “Current User”, type:

shell:startup

To open the “Startup” folder for the “All Users”, type:

shell:common startup

Click “OK” and paste your batch file or the shortcut to the .bat file, that needs to be run on a Windows startup.

Cool Tip: Get the return code from the last command or application! Read more →