-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MC file plugins for win #9
Comments
need an example use-case; scripts can always exec "start file-name" gaining win shell file association features. |
I.e. I have some *.pdf file, which opens with MS edge in Explorer. When I execute it in mc (with RETURN key), nothing happens. The same with *.doc, *.xls and other file formats with windows assosiations. |
Hello, Currently the workaround I found to open a file from mc in a external application is to run the following in mc command line:
So providing a .doc or .docx file is selected in the active panel, the following should work :
or equivalently:
@eugenov , regarding your initial question: when I just type I don't know much about its implementation, but I suppose that mc is able to execute a part of doc.sh. Here for instance It recognize that type of file is a msdoc, but can't execute wvHtml or elinks which are linux commands. I agree with you it would be nice being able to directly open the files by typing |
Hello, Finally I found the following solution: in where For instance for ms word/excel/powerpoint, one could use:
Finally, as
This will directly open the file with the default program. @adamyg : I made few web search, but I did not find recipes to open/view files with mcwin32 (but maybe I did not use the correct keywords). It could be helpful to do so and/or change the default |
The diagnostics reported is result of the logic within plugin/doc.sh (below); which is assuming a unix / open-office / abiword environment; shall consider reworking
|
mc has some plugins for handling files such as "plugin\archive.sh", "plugin\doc.sh" and such. All commands inside them are for unix. It will be very nice to make mc handle various types of files, but at least we need ability to pass file handling to win. Right now I can only launch executables.
The text was updated successfully, but these errors were encountered: