Page 1 of 1

Custom file association for Windows Photo Viewer

Posted: 07 Mar 2017 23:41
by mugsy
Hi,

Trying to configure Windows Photo Viewer as a custom file association in Windows 10 as it is hidden away.

The following works in a commandline:

%SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen [path to file]

but having problems trying to set this up in Custom File Assocations.

eg. "Windows Photo Viewer" {:Image}>%SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll, ImageView_Fullscreen"

which doesn't work.

Any ideas on how this can be done?

Thanks

Re: Custom file association for Windows Photo Viewer

Posted: 08 Mar 2017 00:23
by highend
I use a script (pro version required)...

Code: Select all

"Windows Photo Viewer" {:Image}>::run """%SystemRoot%\System32\rundll32.exe"" ""%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll"", ImageView_Fullscreen <curitem>";

Re: Custom file association for Windows Photo Viewer

Posted: 08 Mar 2017 10:05
by mugsy
Thank you! That worked a treat.

A list of these associations would be helpful, as Microsoft seem to hide the executables away and make them hard to find.

Thanks again for sorting this one out.