File Not Found when I try to open something.
Moderators: xnview, Dreamer
-
PwnyHipster
- Posts: 5
- Joined: Sat Mar 07, 2026 1:06 pm
File Not Found when I try to open something.
Ever since that last update some files now do an error with "file not found" when I try to open it. What is happening?
-
jkm
- Posts: 504
- Joined: Sat May 11, 2024 12:43 am
Re: File Not Found when I try to open something.
Probably some files were moved/renamed/deleted outside of XnViewMP, or the path they were on (external drive or NAS) is not available or has changed.
You can either find them and put them back, or...
Try Tools->Settings:Catalog->Synchronize Folders and the missing files will no longer appear in the application
You can either find them and put them back, or...
Try Tools->Settings:Catalog->Synchronize Folders and the missing files will no longer appear in the application
-
PwnyHipster
- Posts: 5
- Joined: Sat Mar 07, 2026 1:06 pm
Re: File Not Found when I try to open something.
No I mean when I open up an image in a folder it doesn't open it. I moved the folder to a different spot and it now opens some images.jkm wrote: Wed Mar 18, 2026 6:29 pm Probably some files were moved/renamed/deleted outside of XnViewMP, or the path they were on (external drive or NAS) is not available or has changed.
You can either find them and put them back, or...
Try Tools->Settings:Catalog->Synchronize Folders and the missing files will no longer appear in the application
-
xnview
- Author of XnView
- Posts: 47726
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: File Not Found when I try to open something.
long path name?PwnyHipster wrote: Wed Mar 18, 2026 6:48 pm No I mean when I open up an image in a folder it doesn't open it. I moved the folder to a different spot and it now opens some images.
Pierre.
-
PwnyHipster
- Posts: 5
- Joined: Sat Mar 07, 2026 1:06 pm
Re: File Not Found when I try to open something.
Seems so but it wasn't a problem until now.xnview wrote: Thu Mar 19, 2026 6:53 amlong path name?PwnyHipster wrote: Wed Mar 18, 2026 6:48 pm No I mean when I open up an image in a folder it doesn't open it. I moved the folder to a different spot and it now opens some images.
-
xnview
- Author of XnView
- Posts: 47726
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
PwnyHipster
- Posts: 5
- Joined: Sat Mar 07, 2026 1:06 pm
Re: File Not Found when I try to open something.
Was that the update before the latest one? Yeah I didn't have this problem then, only after the current update installed.
-
xnview
- Author of XnView
- Posts: 47726
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: File Not Found when I try to open something.
could you send me that the full filename used in PM?PwnyHipster wrote: Fri Mar 20, 2026 7:29 am Was that the update before the latest one? Yeah I didn't have this problem then, only after the current update installed.
Pierre.
-
CreativeWorld
- Posts: 148
- Joined: Fri Dec 30, 2011 7:08 pm
Re: File Not Found when I try to open something.
I have the same issue. It's definitely an issue with long path names. It probably has been introduces with 1.10.3 as I had this issue there as well. I think I had the latest 1.9.X before where it still worked. It looks like XnView is not long path aware anymore.
I have other, even self written software that still work fine with long path names.
I have other, even self written software that still work fine with long path names.
-
CreativeWorld
- Posts: 148
- Joined: Fri Dec 30, 2011 7:08 pm
Re: File Not Found when I try to open something.
I tried to open the same file in CMD using the same syntax as XnView registers in the registry:
"C:\Program Files\XnViewMP\xnviewmp.exe" "%1"
It works when I put the full long path as-is:
"C:\Program Files\XnViewMP\xnviewmp.exe" "C:\...long path...\file.png"
But when the special long path prefix is being used the error occurs:
"C:\Program Files\XnViewMP\xnviewmp.exe" "\\?\C:\...long path...\file.png"
On opening through Windows Explorer it automatically adds the \\?\ prefix to the path parameter.
The issue might be, how this was handled before. In case of my environment I didn't install any updates that would change default Framework/Windows behaviors.
"C:\Program Files\XnViewMP\xnviewmp.exe" "%1"
It works when I put the full long path as-is:
"C:\Program Files\XnViewMP\xnviewmp.exe" "C:\...long path...\file.png"
But when the special long path prefix is being used the error occurs:
"C:\Program Files\XnViewMP\xnviewmp.exe" "\\?\C:\...long path...\file.png"
On opening through Windows Explorer it automatically adds the \\?\ prefix to the path parameter.
The issue might be, how this was handled before. In case of my environment I didn't install any updates that would change default Framework/Windows behaviors.
-
xnview
- Author of XnView
- Posts: 47726
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: File Not Found when I try to open something.
RightCreativeWorld wrote: Thu Mar 26, 2026 2:21 pm But when the special long path prefix is being used the error occurs:
"C:\Program Files\XnViewMP\xnviewmp.exe" "\\?\C:\...long path...\file.png"
Pierre.
-
xnview
- Author of XnView
- Posts: 47726
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: File Not Found when I try to open something.
This problem is supposed to be fixed in XnView MP 1.11.1. Please check and confirm the bug fix here.
Pierre.