Double clicking on a jpg file gave me an error opening the file which was isolated to a bug whereby any jpg file called
2 2.jpg
or
3 3.jpg
or any
'number [space] number'.jpg name can be open through File > Open BUT NOT by double cliking on it.
Please confirm if you can replicate this bug.
File 2 2.jpg or any 'number [space] number' does not open
Moderators: helmut, XnTriq, xnview
Not confirmed

- Please, could you say from where you double-click?
- I tested such a file 2 2.jpg, I launched it alright from Total Commander in its folder.
- I displayed the folder content as thumb-nails, and clicking on the 2 2.jpg thumb-nail opens the file alright in the main window…

- You might try to carry the file via Drag&Drop on the XnView icon (in Total Commander, if you have it.)
- Whether you get two error messages successively (Can't open ...\2 and Can't open …\2.JPG), this means that the " " are removed or originally missing in the command string of the JPG file-type for "%1".
The line must look like, for instance :
Code: Select all
"C:\XNVIEW\XNVIEW.EXE" "%1"

Claude
Clo
Last edited by Clo on Sat Dec 04, 2004 1:18 pm, edited 3 times in total.
Old user ON SELECTIVE STRIKE till further notice •
Yes! That was it!
On my Windows XP (Pro) I had
"C:\Program Files\XnView\xnview.exe" %1
instead of
"C:\Program Files\XnView\xnview.exe" "%1"
Problem solved:
My Computer > Tools… > Folder Options… > File Types TAB > Scroll down to JPG > Advanced >
Click on Open > Edit... >
Action:
&Open
Application used to perform this action:
"C:\Program Files\XnView\xnview.exe" "%1"
Application:
XnView
Topic:
System
On my Windows XP (Pro) I had
"C:\Program Files\XnView\xnview.exe" %1
instead of
"C:\Program Files\XnView\xnview.exe" "%1"
Problem solved:
My Computer > Tools… > Folder Options… > File Types TAB > Scroll down to JPG > Advanced >
Click on Open > Edit... >
Action:
&Open
Application used to perform this action:
"C:\Program Files\XnView\xnview.exe" "%1"
Application:
XnView
Topic:
System
Not possible always !
>> ckit
Hi !
- You can make the associations with XnView, but not with all other apps. i.e. with some text editors…
- Moreover, especially under Win98 SE, the right command line is "loosing" the quotes sometimes !
- This is a bug of Win$, something like a bad saving in / of <win.ini>, or an inopportune re-using of a bad back-up after a crash …
- I have this for file-types alright supported by XnView and associated with it.
- That works for a week or three months, and suddently : the multiple error-messages come. It's easy to fix from Total Commander, since a command "Associate with…" allows to edit the faulty line, then to replace the quotes for "%1"
>> “Guest”
Hi !
• Glad to hear that the problem is solved for you !
- This can come back if you are running Win 98 SE in another PC, like I say above.
- Under XP-Pro, I didn't noticed such a come-back, but originally the quotes are missing i.e. for *.TXT; that isn't very cunning in an OS which has spaces in some original folder-names like "Program Files" and proclaims that it supports spaces in names
Kind regard to all,
Claude
Clo

- You can make the associations with XnView, but not with all other apps. i.e. with some text editors…
- Moreover, especially under Win98 SE, the right command line is "loosing" the quotes sometimes !
- This is a bug of Win$, something like a bad saving in / of <win.ini>, or an inopportune re-using of a bad back-up after a crash …
- I have this for file-types alright supported by XnView and associated with it.
- That works for a week or three months, and suddently : the multiple error-messages come. It's easy to fix from Total Commander, since a command "Associate with…" allows to edit the faulty line, then to replace the quotes for "%1"
>> “Guest”

• Glad to hear that the problem is solved for you !
- This can come back if you are running Win 98 SE in another PC, like I say above.
- Under XP-Pro, I didn't noticed such a come-back, but originally the quotes are missing i.e. for *.TXT; that isn't very cunning in an OS which has spaces in some original folder-names like "Program Files" and proclaims that it supports spaces in names


Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •