void Image Viewer Install association command line

Plug-in and third party software discussion.
Post Reply
2late
Posts: 25
Joined: Sun Feb 01, 2015 11:27 am

void Image Viewer Install association command line

Post by 2late »

Code: Select all

voidImageViewer.exe /<bmp|gif|ico|jpeg|jpg|png|tif|tiff>
voidImageViewer.exe /bmp|gif|ico|jpeg|jpg|png|tif|tiff
this command give me an error: The syntax of the command is incorrect.
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: void Image Viewer Install association command line

Post by void »

Please specify only one of the options at a time:

For example, to associate gif files with voidImageViewer:
voidImageViewer.exe /gif

For example, to associate gif, jpg and png files with voidImageViewer:
voidImageViewer.exe /gif /jpg /png
2late
Posts: 25
Joined: Sun Feb 01, 2015 11:27 am

Re: void Image Viewer Install association command line

Post by 2late »

Thank you for your help
but it seems that Windows does not allow changing file association by the command prompt (win 8.1)
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: void Image Viewer Install association command line

Post by void »

Some notes:
When running "voidimageviewer.exe /gif", voidImageViewer will attempt to relaunch with administrative privileges.

I've check this on Windows 8.1 x86 / Windows 10 x64 and it appears to work:
When I run "voidimageviewer.exe /gif" I receive a user account control prompt to allow voidimageviewer to make changes to the system.
When I open a gif file I receive another notification at the top right of the screen that new apps that can open this type of file.
If I click on this notification, I can choose to click on voidImageViewer, which will then open my gif file with voidImageViewer.

What are your User Account Control settings (under Action Center)? -Perhaps voidImageViewer is blocked?

Do you receive the UAC prompt when running "voidimageviewer.exe /gif" ?

Does "voidimageviewer.exe /gif" work from a console run as administrator?
redwood
Posts: 28
Joined: Sun May 02, 2021 2:32 pm

Re: void Image Viewer Install association command line

Post by redwood »

Hi. i use voidimageviewer and can't set association from program itself nor the command line (both run as administrator)

The problem seems to be related to Windows 8 specifically
because change association works on windows 7 and XP
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: void Image Viewer Install association command line

Post by void »

After setting the associations from within Void Image Viewer:

On Windows 8, right click a jpg/png/gif file and click properties.
  • Click the Change... button.
  • Select voidImageViewer.
  • Click OK.
redwood
Posts: 28
Joined: Sun May 02, 2021 2:32 pm

Re: void Image Viewer Install association command line

Post by redwood »

OK thank you
Post Reply