improve:EASY TO USE -- just run with '-winpe' or '-wes' or '-daemon' will do next actions auto with WinXShell.lua(can customize by everyone) * handle OpenContainingFolder context menu of shortcuts, if there is no ieframe.dll
function regist_shortcut_ocf() -- handle shortcut's OpenContainingFolder menu if not is_x then return end -- if File.exists('X:\\Windows\\System32\\ieframe.dll') then return end
-- ren #MUIVerb key to MUIVerb to show "open file location" than 'Open Containing Folder Menu Wrap'-- this #comment out, because there no need have two same menu reg_write([[HKEY_CLASSES_ROOT\lnkfile\shell\OpenContainingFolderMenu_wxsStub]], 'MUIVerb', '@shell32.dll,-1033')-- remove Extended key, for always show-- reg_write([[HKEY_CLASSES_ROOT\lnkfile\shell\OpenContainingFolderMenu_wxsStub]], 'Extended', '')
would you please upload yours [HKEY_CLASSES_ROOT\lnkfile] registy?
if not (ARCH == 'x64') then ...
Win10(1709) pe x86, Xyplorer set as file explorerIs there possibly a way for winxshell along with xyplorer to handle "browse to" "open containing folder" and "open file location"?
if ARCH ~= 'x64' then stub_dll = 'wxsStub32.dll' end
--- [[ add one more '-' to be '---', will enable this functionfunction do_ocf(lnkfile, realfile) -- handle open containing folder menu -- local path = realfile:match('(.+)\\') -- app:run('cmd', '/k echo ' .. path) -- totalcmd -- app:run('X:\\Progra~1\\TotalCommander\\TOTALCMD64.exe', '/O /T /A \"' .. realfile .. '\"') -- XYplorer app:run('X:\\Progra~1\\XYplorer\\XYplorer.exe', '/select=\"' .. realfile .. '\"')end--]]
I miss it for long time. I'm working on new version now, I will upload one this weekend about all config items, but every item's mean in English will be later.