Page 1 of 1

Replace PictView through Windows Photo Viewer

Posted: 28 Feb 2016, 15:15
by tdrees
Hi,

I want to replace the interal PictView Plugin through the Windows Photo Viewer. Therefore I have changed the configuration. From within the file viewer I have done the following change (see hardcopy). The full command is

rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen

Nothing happens, when I press F3 on a JPG.

What am I doing wrong? Using cmdline this is working fine.

Thanks and Regards,

Torsten

Re: Replace PictView through Windows Photo Viewer

Posted: 28 Feb 2016, 21:25
by SelfMan
try FullName instead of Name. Use the following syntax:
%SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll",ImageView_Fullscreen <full path to the image without quotes>

you have 2 main error in the configuration:
1) there should be no space character between , and ImageView_Fullscreen - ,ImageView_Fullscreen
2) the "$(Name)" should be without quotes and FullName - $(FullName)

I've tested the line above and its working.

Re: Replace PictView through Windows Photo Viewer

Posted: 29 Feb 2016, 20:37
by tdrees
Hi, I dot no get it running with this syntax either. Please see attached hardcopy with the error message. "System cannot find the file"....
Regards,

Torsten

Re: Replace PictView through Windows Photo Viewer

Posted: 29 Feb 2016, 20:51
by SelfMan
Ok, it seems that there is a problem expandisk system variables...%blahblah% so use:
command: C:\Windows\System32\rundll32.exe
argument: "C:\Program files\Windows Photo Viewer\PhotoViewer.dll",ImageView_Fullscreen $(FullName)
Initial directory: $(FullPath)

This is valid for a 32 bit OS. For a 64 bit OS you have to adjust the paths accordingly.

I've tested this configuration and its working.

Re: Replace PictView through Windows Photo Viewer

Posted: 29 Feb 2016, 21:09
by tdrees
Yes you are right. No it is working.
Thanks and Regards,
Torsten