Open multiple folders at the same time in Windows 10 with just 1 shortcut

Open multiple folders at the same time in Windows 10 with just 1 shortcut

Have you ever thought about having quick access to all your favorite folders at once? This is entirely possible. With just 1 shortcut, you can open multiple folders at the same time on your Windows 10 computer. Please refer to the steps below in the article below.

How to create a batch file to open multiple folders at the same time

To open multiple folders at the same time, create a batch file using the script provided below. Once created, double-click the batch file to open the folders. Here are the exact steps you need to follow.

1. First, go to the Windows 10 desktop.

2. Right-click on the desktop.

3. Select the New> Text Document option from the right-clicking menu.

Select the New> Text Document option

4. Name the text file “OpenFolders.bat”. Make sure you replace the .txt extension with .bat.

5. After creating bat file, right-click on it and choose Edit.

Right-click the file and choose Edit

6. The bat file will open in Notepad. Next, paste the code below in it. Replace the example directory paths with the actual directory paths.

@echo off start %SystemRoot%explorer.exe "E:dummypathtofolder1" start %SystemRoot%explorer.exe "E:dummypathtofolder2" start %SystemRoot%explorer.exe "E:dummypathtofolder3"

7. To add more folders, copy the start line and add the folder path.

Copy the start line and add a path to create more folders

8. Press Ctrl + S or choose File> Save to save the batch file.

9. Close the Notepad window.

Whenever you want to open different folders at the same time, just double click this batch file. It will open all folders for you.

Add keyboard shortcut to run batch files

To make things a little easier, you can add a shortcut to run the batch file. That way, you don’t need to go to the desktop and click the batch file. Pressing the shortcut from anywhere will execute the batch script to open the folders. To add key associations, you’ll use AutoHotKey.

1. First, install AutoHotKey.

2. Next, create a text file on the desktop and name it “OpenFolders.ahk”. It is important that you replace .txt with .ahk.

3. Right-click the file and choose Edit Script.

4. Copy and paste the code below into the opened file. Change the example path with the actual path of the batch file.

;Press Alt + R !R:: Run, "C:UsersUsernameDesktopOpenFolders.bat" return

5. Save the file with the keyboard shortcut Ctrl + S.

6. Close Notepad.

7. Double-click the .ahk file you just created.

From now on, whenever you want to open different folders at the same time, press the Alt + R keyboard shortcut. If you want, you can customize the shortcut. See the AutoHotKey documentation for how to set up key combinations.

Refer to some more articles below:

  • Summary of tips to fix Windows 10/8 / 8.1 / 7 and Windows XP running slow
  • When and how to defragment hard drive on Windows 10?
  • Did you know Windows 10 solved the problem of paths longer than 260 characters? Read the article below

Good luck!

1