"Open image with" command always passes a short filename
Lean and fast image viewer with minimal GUI
Brought to you by:
dkleiner
"Open image with" command always passes a short filename.
OpenWith0="Cmd: 'cmd /K echo %filename%' Menuitem: 'Command Prompt' Flags: 'ShellExecute'"
above result:
In UserCommand.cpp->#292
if (m_sCommand.Find(_T("jpegtran ")) == 1) {
sFileNameInCommandLine = Helpers::ReplacePathByShortForm(sFileName);
}
When commentout this, It operated well.
I removed that code as it is legacy - jpegtran is neither needed nor supported anymore. Lossless JPEG transformations are supported directly.
However I wonder why removing this code helped on your system because
Opps!
I mistook the code to upload. Above is the code which I modified.
Original code is like this.
Last edit: DukeDog 2014-11-23