Classic Shell
http://www.classicshell.net/forum/

Open multiple selected files/folders by programs
http://www.classicshell.net/forum/viewtopic.php?f=8&t=970
Page 1 of 1

Author:  Tacmorc [ Mon Jul 22, 2013 12:57 am ]
Post subject:  Open multiple selected files/folders by programs

Hello,

I've created serveral shortcuts for classic explorer to the toolbar with the %2 command. To open a selected file or folder directly by the programs shortcut.

But I wasn't able to get the command working with multiple selected files and folders. The programs just start with a blank page or an empty/standard path.

I tried open multiple files with notepad++. But with the command notepad++.exe %2 it just opens a blank page, when selected more than one file.

So is it even possible ? Maybe through an extern shortcut or cmd command or Batch ?

What about "send to" are there any commands for it to use with ClassicExplorer or extern methods like above ?

regards

Author:  Gaurav [ Mon Jul 22, 2013 6:19 am ]
Post subject:  Re: Open multiple selected files/folders by programs

%2 only works for a single selected item in Classic Explorer. There is %3, %4 and %5 (which you must have read in the help file) but they will require creating a batch file or using custom utilities to send selected files to a text file. %5 can be used to return a command back to Classic Explorer.

There is a simpler way. You could try creating a secondary context menu verb directly in the registry if you know how or using an app like Default Programs Editor (easier way). By default, Windows restricts opening of multiple files if more than 15 of them are selected but a registry tweak can override that. Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer and create a DWORD value called MultipleInvokePromptMinimum. Set the value in decimals to the number of files you want till which the context menu open, edit, etc verbs won't be restricted. e.g if you set it to 100, the verb will be disabled after selecting 101 files. Then you can select multiple files and invoke the right click verb with your custom program such as Notepad++ on all of them.

There is also the free StExBar toolbar that does have the ability to create custom commands that work on multiple selected files.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/