Don't know if this is a bug or some problem with my PC, but when I try to open a picture file from Total Commander or Explorer and it's path contains any space char, the program fails. It shows a message box: "Error opening the file <path_only_to_first_space>" and then opens the browser window.
Opening such file direct from browser window is OK.
XnView version: 1.80.1
OS: WinXP Home
Can't open file when path contains space character
Moderators: XnTriq, helmut, xnview
-
- XnThusiast
- Posts: 2577
- Joined: Tue Feb 17, 2004 1:11 am
- Location: QLD, Australia
-
- Posts: 786
- Joined: Wed Feb 02, 2005 2:30 pm
- Location: Glow
This happen because the file association is false or incomplete
If the file pointter isn't in quotes or the pointter is missing, some programs can't open the files right.
It's all about how well the program handels parameters.
At least XnView 1.80.1 creates the standard file associations so the bug is in the program what created the file associations (older XnView perhaps)
Code: Select all
This is the standard file association what should work with every aplication
"C:\Program files\XnView\xnview.exe" "%1"
%1 = pointer to the filename
It's all about how well the program handels parameters.
At least XnView 1.80.1 creates the standard file associations so the bug is in the program what created the file associations (older XnView perhaps)
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
-
- XnThusiast
- Posts: 4441
- Joined: Sun Oct 17, 2004 4:57 am
- Location: Bordeaux, France
A joke of 98 SE…
ckv
Hello !
- Right, and this is a well-known bug of 98 SE. That happens by "crisis periods", for some unknown reasons,
the quotes of "%1" are removed, then you get a cascade of error messages like : "Can't open <first_part>", (space in path / name) "Can't open <second_part>" and so on if the path and the file-name both contain spaces…
• Personally, I correct this remaking the right association in Total Commander. But it can stay correct for one hour or three months, impossible to know…
- Under XP-Pro, some quotes are originally missing from the Win installation, i. e. for *.TXT and «Notepad», that is not very clever ! However, when fixed, they are no longer removed, as far as I could see…
Kind regards,
Claude
Clo
Hello !
…If the file pointer isn't in quotes…
- Right, and this is a well-known bug of 98 SE. That happens by "crisis periods", for some unknown reasons,
the quotes of "%1" are removed, then you get a cascade of error messages like : "Can't open <first_part>", (space in path / name) "Can't open <second_part>" and so on if the path and the file-name both contain spaces…
• Personally, I correct this remaking the right association in Total Commander. But it can stay correct for one hour or three months, impossible to know…
- Under XP-Pro, some quotes are originally missing from the Win installation, i. e. for *.TXT and «Notepad», that is not very clever ! However, when fixed, they are no longer removed, as far as I could see…
Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
-
- Posts: 786
- Joined: Wed Feb 02, 2005 2:30 pm
- Location: Glow
Re: A joke of 98 SE…
It stays correct until some program takes the association or win98 crashes and "fix" the registery by recovering latest registery backup. At least I think so...Clo wrote:But it can stay correct for one hour or three months, impossible to know…
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
-
- XnThusiast
- Posts: 4441
- Joined: Sun Oct 17, 2004 4:57 am
- Location: Bordeaux, France
Yes and no---
>> ckv
- I said : “One hour…” but it can be 5 minutes or less as well, even rebooting the PC, while the quotes have been restored !
KR
Claude
Clo
Indeed, I thought to that too, but isn't the only cause : something is wrong in the saving of a fixed association in <win.ini> by Windows.It stays correct until some program takes the association or win98 crashes…
- I said : “One hour…” but it can be 5 minutes or less as well, even rebooting the PC, while the quotes have been restored !
KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
-
- Posts: 786
- Joined: Wed Feb 02, 2005 2:30 pm
- Location: Glow
Oh. This old OS works in many mysterious ways.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.