How to open more than 15 files at once?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Newbie2021
Junior Member
Junior Member
Posts: 4
Joined: 2021-12-07, 13:08 UTC

How to open more than 15 files at once?

Post by *Newbie2021 »

When I select up to 15 files and show context menu (Shift+F10), there is item Open. But when selected files count exceeds 15 items this menu item is not there anymore.

Sometime I need to open more than 15 files (in their default application) at once how to do it?
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: How to open more than 15 files at once?

Post by *HolgerK »

That's a limitation added by Microsoft intentionally to prevent computer to stop responding when opening a huge amount of files.
You can try to add a registry entry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
-> New 32Bit DWORD -> MultipleInvokePromptMinimum and set a value of e.g. 100

See also:
https://winaero.com/windows-10-context-menu-items-missing-when-more-than-15-files-are-selected/
https://www.tenforums.com/tutorials/94513-fix-context-menu-items-missing-when-more-than-15-selected-windows.html
https://docs.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/context-menus-shortened-select-over-15-files
...

HTH
Holger
Make our planet great again
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: How to open more than 15 files at once?

Post by *Dalai »

Thank Microsoft for this (useless) limitation in the Windows shell. The only way to open more files is by some means other than the context menu. It's possible to create a button that makes use of the CMD start command inside of a for loop to open all selected files. And I'm sure there are other ways to do this.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: How to open more than 15 files at once?

Post by *HolgerK »

Dalai wrote: 2022-01-04, 15:24 UTC Thank Microsoft for this (useless) limitation in the Windows shell.
Right.
Even a dialog:

Code: Select all

Do you really want to open more than 15 documents at once?
(This may take a while...)

[Yes] [No] [Never ask me again, just do it]
Would be a more user friendly option than searching the internet for a solution and tweaking the registry.

Regards
Holger
Make our planet great again
Newbie2021
Junior Member
Junior Member
Posts: 4
Joined: 2021-12-07, 13:08 UTC

Re: How to open more than 15 files at once?

Post by *Newbie2021 »

Actually I was hoping there is something like in FreeCommander. Where you just select files and hit enter. TC opens only an item under the cursor.
Screenshot: https://i.ibb.co/GPdB36P/image.png
User avatar
solid
Power Member
Power Member
Posts: 747
Joined: 2004-08-09, 11:20 UTC

Re: How to open more than 15 files at once?

Post by *solid »

That a nice workaround of the OS limitation. I guess in this case the FreeCommander uses built in lst2multi functionality.

Check lst2multi, or even better F4Menu or some similar tool. It gives you the choice to select the program for opening all selected files.
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: How to open more than 15 files at once?

Post by *HolgerK »

Dalai wrote: 2022-01-04, 15:24 UTC It's possible to create a button that makes use of the CMD start command inside of a for loop to open all selected files. And I'm sure there are other ways to do this.
PowerShell-button to open all selected files with default associated program:

Code: Select all

TOTALCMD#BAR#DATA
PowerShell.exe
ForEach ( $file in ( get-Content '%L' ) ) { & $file }
PowerShell.exe
Open all selected files

1
-1
Or create an em_command using the above script and assign a hotkey (e.g. <Ctrl+O>)
UserCommand.ini wrote:

Code: Select all

[em_OpenAllSelectedFiles]
button=PowerShell.exe
cmd=PowerShell.exe
param=ForEach ( $file in ( get-Content '%L' ) ) { & $file }
menu=Open all selected files
iconic=1
Wincmd.ini wrote:

Code: Select all

[Shortcuts]
C+O=em_OpenAllSelectedFiles
Button wrote:

Code: Select all

TOTALCMD#BAR#DATA
em_OpenAllSelectedFiles

PowerShell.exe
Open all selected files

0
10016
Regards
Holger
Make our planet great again
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: How to open more than 15 files at once?

Post by *ghisler(Author) »

You can add extra commands to the context menu via Files - Internal associations, which don't have a limit.
Just leave the default open command empty.
Author of Total Commander
https://www.ghisler.com
Post Reply