Depending on the tasks you perform during your work day, or the activities you may have on your PC, you may be using several different applications simultaneously. To avoid having to manually launch all the programs corresponding to your current task, it is possible to create a script that will do it for you, and which will be executed by clicking on a simple shortcut.
You can then, depending on your needs, make Windows 10 run, for example, Word, Google Chrome, and Microsoft Teams for your work, or Steam, Discord, and Twitch during your gaming sessions.
Here's how to create a shortcut that launches multiple applications simultaneously on Windows 10.
Start by copying the path of the programs you want to run simultaneously. To do this, from the desktop, right-click on the software icon and go to Properties.
If the program does not have a shortcut on your desktop, look for its name in the Windows 10 search field, right-click the program and choose Open File Location. You will then be able to right-click the program icon to access its Properties.
Then copy the contents displayed in the Target field, and paste the path to the file into Windows Notepad.
At the very top of the Notepad in which you pasted the paths of the applications to be opened, insert a line and add the @echo off command. This will hide the command prompt window where the execution of the script is displayed.
In front of each application path, insert the cd command, place the cursor at the end of the path and press Enter to go to the line. The cd command allows the script to navigate to the directory containing the application to be executed.
Then add the command start followed by the name of the executable file of the application to be launched including the extension. Repeat for each program. To launch simultaneously Firefox, Chrome, and Word, the script should look like this :
cd "C:\Program Files\Mozilla Firefox\firefox.exe"
cd "C:\Program Files (x86)\Google\Chrome.exe
cd "C:\Program Files (x86)\Microsoft Office\root\Office16\WINWORD.EXE"
At the end of your file, add the exit command that will allow you to exit the script after it is executed. The contents of your Notepad should look like this :
When your script is ready, you can save it by clicking File and then Save As. Modify the default file type (.txt) for all files, and choose a name for your script by adding the .bat extension at the end and validate by clicking on Save.
Go to the Windows desktop, right click, in the context menu click on New and then on Shortcut.
Click the Browse button, navigate to the directory where you saved your script and select it.
Then click on the Next button, give a name to your shortcut and validate it by clicking on Finish.
Now all you have to do is double-click on this shortcut file to run all the programs you need for your task at the same time.