Doesn't open when space in path

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
Guest

Doesn't open when space in path

Post by Guest »

A file C:\Documents and Settings\mypath\image.jpg
When you double-click on this file in explorer an error message is displayed:
"Error opening the file <C:\Documents>"
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Post by ckit »

Using RegEdit check this entry:
HKEY_CLASSES_ROOT\XnView.jpg\shell\open\command
"C:\Program Files\XnView\xnview.exe" "%1"

It's important that there is "%1" and not %1
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: RC1: doesn't open when space in path

Post by helmut »

Anonymous wrote:A file C:\Documents and Settings\mypath\image.jpg
When you double-click on this file in explorer an error message is displayed:
"Error opening the file <C:\Documents>"
Please have a look at FAQ "How to associate image files with XnView". I guess you are novice user and recommend to use the stable release, which currently is XnView 1.80.3.
Post Reply