Multi Commander > Support and Feedback
[SOLVED] MC using wrong app to open multiple files
bgroper:
Hi forum
I'm using MC 14.4 (build 3047) on Windows 10 Pro-N.
I have Windows configured with FoxitReader as the default viewer for PDF files.
Also added *.pdf to File Type Setup in MC, with pointer to FoxitReader.
I can also see the xml elements and values saved in C:\Users\user\AppData\Roaming\MultiCommander\Config\FiteTypes.xml.
Using MC, a point and click at a single pdf file opens the file using the FoxitReader as expected. Tick.
When MC has multiple pdf files selected (ie 2 or more files), they will all open using a different app. A secondary PDF tool.
How do I make MC open multiple files in the selected default app, FoxitReader ?
Thanks for any tips or clues, and thanks for the great program.
Edit. Yes, after making these changes I did restart windows, but the problem remains. :(
Jungle:
Some more to add.
1. It seems that the way of launching depends on Explorer tabs type.
E.g. from the RES1: tab my *.pdf files are opened in MS Edge (which is the default app). And from "normal" file tab the same files are opened in configured app (PDF-XChange)
2. If custom config settings are wrong, the file will not be opened from the "normal" file panel. And it's confusing when the default file icon is used. So you see some associated icon, try to launch and nothing happens. I think either the default app should be launched or some kind of notification displayed. Maybe MC should check certain settings at startup and warn a user in a some way.
Mathias (Author):
You are saying "view" So I guess you edit the "view" part in FileType Setup.?
When you click to "Open" file. you are not viewing them.. you are Opening them. so the "Open/Run" part in FileType Setup is used.
By default it is handled by windows and windows will open all of the files that MC send to Windows with the program associated with the file.
You can override that behaviour if you want, But then I don't think opening multiple is supported. But Then you can do that from Script and define you own command.
Mathias (Author):
--- Quote from: Jungle on December 06, 2024, 06:32:37 ---Some more to add.
1. It seems that the way of launching depends on Explorer tabs type.
E.g. from the RES1: tab my *.pdf files are opened in MS Edge (which is the default app). And from "normal" file tab the same files are opened in configured app (PDF-XChange)
2. If custom config settings are wrong, the file will not be opened from the "normal" file panel. And it's confusing when the default file icon is used. So you see some associated icon, try to launch and nothing happens. I think either the default app should be launched or some kind of notification displayed. Maybe MC should check certain settings at startup and warn a user in a some way.
--- End quote ---
RES is a normal panel. it is just showing content of virtual device RES1:,
Not sure why you get different behaviour. I get the same. Both are opened in edge
Jungle:
I've configured PDF-XChange as a Launcher (Run/Open), neither viewer nor editor.
When I launch *.pdf from a "normal" panel, some lines appear in the Application Log (Debug/Full)
--- Code: ---2024-12-06 10:26:39.056 Execute file item : "x:\path\file.pdf"
2024-12-06 10:26:39.076 ShellExecute returned without any error
--- End code ---
When I launch *.pdf from RES1:, nothing appears in the Application log.
Navigation
[0] Message Index
[#] Next page
Go to full version