Custom file association for Windows Photo Viewer

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
mugsy
Posts: 4
Joined: 05 Feb 2017 10:53

Custom file association for Windows Photo Viewer

Post 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

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom file association for Windows Photo Viewer

Post 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>";
One of my scripts helped you out? Please donate via Paypal

mugsy
Posts: 4
Joined: 05 Feb 2017 10:53

Re: Custom file association for Windows Photo Viewer

Post 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.

Post Reply