Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

run, rundll.exe ... PhotoViewer.dll syntax ?


  • Please log in to reply
5 replies to this topic
  • Guests
  • Last active:
  • Joined: --
Here are some of my tries :x based on the run documentation and stuff I found searchng:
file := "C:\Users\Public\Pictures\Sample Pictures\Winter Leaves.jpg"

Run, rundll32.exe ""c:\Program Files\Windows Photo Viewer\PhotoViewer.dll"`, "ImageView_Fullscreen"" %file%

Run, rundll32.exe ""c:\Program Files\Windows Photo Viewer\PhotoViewer.dll`, ImageView_Fullscreen C:\Users\Public\Pictures\Sample Pictures\Winter Leaves.jpg""

Run, rundll32.exe C:\Program Files\Windows Photo Gallery\PhotoViewer.dll`, ImageView_Fullscreen %file%

Run, rundll32.exe ""C:\Program Files\Windows Photo Gallery\PhotoViewer.dll"`, "ImageView_Fullscreen C:\Users\Public\Pictures\Sample Pictures\Winter Leaves.jpg""

Run, rundll32.exe ""C:\Program Files\Windows Photo Gallery\PhotoViewer.dll`,ImageView_Fullscreen" "C:\Users\Public\Pictures\Sample Pictures\Winter Leaves.jpg""

I'd be grateful if anyone knows the correct syntax to put me out of my misery. :oops: :?:

Guest.
  • Guests
  • Last active:
  • Joined: --

Here are some of my tries :x based on the run documentation and stuff I found searchng:

file := "C:\Users\Public\Pictures\Sample Pictures\Winter Leaves.jpg"

Run, rundll32.exe ""c:\Program Files\Windows Photo Viewer\PhotoViewer.dll"`, "ImageView_Fullscreen"" %file%

Try
Run, rundll32.exe "c:\Program Files\Windows Photo Viewer\PhotoViewer.dll`, ImageView_Fullscreen %file%"
Run, Target, Target is not an expression so a " is just another character. Just my guess...

guest123
  • Guests
  • Last active:
  • Joined: --
%SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %1

In a batch file try;


@echo off
set file=C:\Users\Public\Pictures\Sample Pictures\Winter Leaves.jpg
start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %file%
exit

If this does not work try;

@echo off
set file=C:\Users\Public\Pictur~1\Sample~1\Winter~1.jpg
start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %file%
exit

  • Guests
  • Last active:
  • Joined: --

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

In a batch file try;


@echo off
set file=C:\Users\Public\Pictures\Sample Pictures\Winter Leaves.jpg
start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %file%
exit

If this does not work try;

@echo off
set file=C:\Users\Public\Pictur~1\Sample~1\Winter~1.jpg
start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %file%
exit



kenn
  • Members
  • 407 posts
  • Last active: Jan 14 2015 08:16 PM
  • Joined: 11 Oct 2010
Try this
Run, rundll32.exe "C:\Program Files\Windows Photo Viewer\PhotoViewer.dll"`,ImageView_Fullscreen %file%


CodeKiller
  • Members
  • 2067 posts
  • Last active: Feb 26 2016 09:30 AM
  • Joined: 10 Jul 2008
The exact syntax (not in ahk) is :

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


So, AHK version :

Run rundll32 "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll"`, ImageView_Fullscreen %FilePath%

The "FilePath" variable MUST NOT contain the double quote " ".