Your data. Your choice.

If you select «Essential cookies only», we’ll use cookies and similar technologies to collect information about your device and how you use our website. We need this information to allow you to log in securely and use basic functions such as the shopping cart.

By accepting all cookies, you’re allowing us to use this data to show you personalised offers, improve our website, and display targeted adverts on our website and on other websites or apps. Some data may also be shared with third parties and advertising partners as part of this process.

Guide

Windows tip: start programs with a batch file

Florian Bodoky
4/10/2023
Translation: Eva Francis

Automatic startup slows down the booting process. And it always launches apps you don’t use, forcing you to close them and start others manually. That’s annoying. And there’s a faster way.

I find the automatic startup of programs in Windows annoying. It delays the booting process unnecessarily and also automatically starts programs I don’t need. As a result, I need to close them again – one at a time. What a pain. Luckily, there’s a faster way.

Replacing drag and drop with a script

Fortunately, there’s a workaround. It’s very old, but by no means outdated – a batch file. A batch file is a script that’s attached to the command prompt. It consists of one or more commands to be executed one after the other by the system when you start it. It can, for example, launch various programs defined by you.

At the office, you might need Word, Teams, and the Chrome browser; on the weekend, however, you’re more likely to use Spotify, Discord and Steam. You can copy batch files to your desktop and activate them with a double click after starting Windows. This will launch the programs.

Creating a batch script

First, you need to know the name of the application files you want to run. Many are simple: Chrome.exe for Google’s Chrome browser, Spotify.exe for Spotify and so on.

To do this, proceed as follows:

Then, go back to the desktop.

  1. Right-click and choose «New», then «Text Document».
  2. Name it as you wish. Then, double-click on it.
  3. Now the text document is open in Notepad and you can start with the script.

Enter «start» followed by the name of the exe file. For example (without the hyphen):

  • start chrome.exe
  • start vlc.exe
  • start spotify.exe

When you’re done, click «Start», then «Save As». Choose your preferred location and name the file as you like. Important: Add the extension «.bat» at the end of each file. Then click «Save».

Now you see the new batch file with its gear icon. Click on it and the programs you’ve put on the list will start.

Now you can deactivate all programs in the «Startup app» menu.

  1. Press the Windows key+i.
  2. Select «Apps».
  3. Click on «Startup».
  4. Set the sliders to «off» for all the unwanted programs.
Header image: Shutterstock

22 people like this article


User Avatar
User Avatar

I've been tinkering with digital networks ever since I found out how to activate both telephone channels on the ISDN card for greater bandwidth. As for the analogue variety, I've been doing that since I learned to talk. Though Winterthur is my adoptive home city, my heart still bleeds red and blue. 


Guide

Practical solutions for everyday problems with technology, household hacks and much more.

Show all

These articles might also interest you

  • Guide

    Windows tip: how to "unclutter" Windows 11

    by Florian Bodoky

  • Guide

    Windows tip: how to remove web results from your Windows 11 search

    by Florian Bodoky

  • Guide

    Windows tip: how to sign out with one click

    by Richie Müller