Opening Multiple Files in Picture and Fax Viewer

A

Austin.Cox

Picture and Fax Viewer has the nice feature that if you open multiple
files simultaneously, it will only preview those files when you cycle
through. I want to be able to replicate this, except through the
command line.

For example, you can open a specific file using rundll32.exe
%SystemRoot%\System32\shimgvw.dll,ImageView_Fullscreen
filename.ext (or folder name).

Is there a modification that I can make to the filename on the end so
that I can replace the one filename with three or four filenames and
have it open as it would if I had selected and opened the files in
explorer? I tried running the command very quickly four times for the
four different filenames but it then cycled through all the pictures in
the same folder instead of just the four that I wanted.

Thanks.
 
J

Jon

Picture and Fax Viewer has the nice feature that if you open multiple
files simultaneously, it will only preview those files when you cycle
through. I want to be able to replicate this, except through the
command line.

For example, you can open a specific file using rundll32.exe
%SystemRoot%\System32\shimgvw.dll,ImageView_Fullscreen
filename.ext (or folder name).

Is there a modification that I can make to the filename on the end so
that I can replace the one filename with three or four filenames and
have it open as it would if I had selected and opened the files in
explorer? I tried running the command very quickly four times for the
four different filenames but it then cycled through all the pictures in
the same folder instead of just the four that I wanted.

Thanks.

Your question contains one possible solution in itself, when you said
"folder name"

eg

rundll32.exe %SystemRoot%\System32\shimgvw.dll,ImageView_Fullscreen
C:\PicturesToView

Jon
 
A

Austin.Cox

Thanks Jon. Unfortunately, using the folder path previews all images
in that folder. I am looking to preview only specific images as you
would if you highlighted a select few and opened them.

I suppose that I could save copies of the images in a temporary folder
and preview that folder but I was hoping that there as an easier, more
elegant means of just including several files under the "filename"
parameter. Something like Explorer would do when you choose to open
several selected files at the same time.

Thanks.
 
W

Wesley Vogel

You gave me the hint.
Something like Explorer would do when you choose to open
several selected files at the same time.

Highlight a few files. Right click them and select Preview. Hit the >|
arrow and Windows Picture and Fax Viewer will cycle through only those
selected files and no others in that folder.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
J

Jon

Wesley Vogel said:
You gave me the hint.


Highlight a few files. Right click them and select Preview. Hit the >|
arrow and Windows Picture and Fax Viewer will cycle through only those
selected files and no others in that folder.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In

I think he is aware of that and is looking for a way to replicate that
procedure from the command line.

Jon
 
A

Austin.Cox

Thanks Wesley, but Jon is right. I am looking for how to do the exact
same thing except from the command line. I am trying to implement it
as part of a LabView program so that after four images are captured,
the Picture and Fax Viewer pops up to preview only those four images.
I cannot figure out how to modify the command line command that I know
to accomodate more than one filename.
 
W

Wesley Vogel

Well obviously I do not know how or I would've posted the solution.

All I can get to work are these shortcuts...

%windir%\System32\rundll32.exe
%SystemRoot%\System32\shimgvw.dll,ImageView_Fullscreen %userprofile%\My
Documents\My Pictures
or
%windir%\System32\rundll32.exe
%SystemRoot%\System32\shimgvw.dll,ImageView_Fullscreen %userprofile%\My
Documents\My Pictures\filename.ext

I tried:
....My Pictures\filename.ext,filename.ext
and
....My Pictures\filename.ext, filename.ext
and
....My Pictures\"filename.ext,filename.ext"
and
....My Pictures\"filename.ext, filename.ext"

Of course none of them worked.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top