Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I made a little batch script to open drawings at work since I don't care for the program to do that. I've made it so you can switch between two programs to open the pictures in but I can't get the default windows picture viewer to work.
I looked up how the viewer is opened in the file type properties and got this.
c:\windows\system32\rundll32.exe C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscreenpasting that into a cmd prompt will launch a blank instance of it, but putting the location of a picture following that does nothing. Anyone know how to start that viewer with a picture?

ok so it seems the site changed how threads are posted so this ended up here instead of in the programming section. why would hitting new thread in the programming section not create a new thread in the programming section?
They also seemed to remove the mandatory review before posting.

It worked for me, but only when I specified the full path to the picture file, even if the picture file was located in the current directory.
For example, if picture.jpg is located in the current directory (d:\pictures)...
This worked:
D:\Pictures>c:\windows\system32\rundll32 c:\windows\system32\shimgvw.dll,imageview_fullscreen d:\pictures\picture.jpgThis didn't:
D:\Pictures>c:\windows\system32\rundll32 c:\windows\system32\shimgvw.dll,imageview_fullscreen picture.jpgIs it possible that you didn't provide the full path with the filename?
-- kptech

I just noticed you said "the location" of a picture. I thought I'd mention that I also tried supplying just the directory name like this:
C:\>c:\windows\system32\rundll32 c:\windows\system32\shimgvw.dll,imageview_fullscreen d:\pictures
The above launched the Windows Picture & Fax viewer and opened the first picture file in the directory. I could then advance forward/backwards through all the pictures in that directory using the arrow buttons at the bottom of the window.

Thanks.
I just tried again and it worked as it did for you, but it didn't work in my script and it must be how the script works I guess.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |