How to open multiple local HTML files in Google Chrome at once?
Using Google Chrome Dev Channel on Windows, I have multiple local HTML files in one folder:
And I want to open them all at once in one Google Chrome window as separate tabs:
What I tried and did not succeed:
- Selecting all files in Windows Explorer and dragging them into Chrome (only one file was opened)
- Selecting all files in Windows Explorer and right-clicking then "Open" (a blank new Chrome window opened)
- Selecting all files in Windows Explorer and pressing Enter (a blank new Chrome window opened)
- Using the file open dialog in Chrome (only single selection supported)
So what seemed to be a trivial task to me seems to actually be impossible.
How can I open multiple local HTML files at once in Google Chrome?
Solution 1:
I'm not sure if this is the best solution, but it worked for me. This was previously answered here.
You can just create a new text file and change the file extension to .bat then type something like this:
start chrome.exe http://www.google.com
start chrome.exe file-path-here
start chrome.exe another-file-here
Then all you have to do is double click that file and they'll all open up in different tabs.
Solution 2:
You can achieve this by adding Chrome to "Send to" and then "sending" your desktop files/images there.
Solution 3:
You can drag and drop multiple HTML files on a shortcut to Chrome (on the Desktop for instance) to open all those files in new tabs in the browser. Alternatively, you can open the Chrome installation folder (possibly C:\Program Files (x86)\Google\Chrome\Application
) in another Windows Explorer and drop your file directly on the chrome.exe
executable.
Note that this does not work on icon of pinned software in the Taskbar on Windows 8+ (but it will probably work on a shortcut in a custom toolbar).