File 2 2.jpg or any 'number [space] number' does not open

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

Moderators: helmut, XnTriq, xnview

Post Reply
c627627

File 2 2.jpg or any 'number [space] number' does not open

Post by c627627 »

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.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Not confirmed

Post by Clo »

:) Hello !
- 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"
- This can occur under Win 9x and under XP too, for any file type…

:mrgreen: Kind regards,
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
Guest

Post by Guest »

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
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Post by ckit »

Never set associations via "Folder Options" in Windows, always use the app you want associated with it :)
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
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Not possible always !

Post by Clo »

>> 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 :P

:mrgreen: Kind regard to all,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Post Reply