min. TC 7.56 to 8.01: File not found error
Moderators: Hacker, petermad, Stefan2, white
min. TC 7.56 to 8.01: File not found error
Hello,
I just found an error with the handling of external editor (viewer + x may also be affected).
As default the editor-Path will be saved without " in front and back.
This may lead to an "File not found" error, when there is a file with a part of that filename.
For example:
My editor is (C:\Program Files (x86)\Notepad++\notepad++.exe). When there is a file C:\Program (without extension), I will get the error.
Workaround:
When the double quotes are added in front and in the back, the call will work.
Markus
I just found an error with the handling of external editor (viewer + x may also be affected).
As default the editor-Path will be saved without " in front and back.
This may lead to an "File not found" error, when there is a file with a part of that filename.
For example:
My editor is (C:\Program Files (x86)\Notepad++\notepad++.exe). When there is a file C:\Program (without extension), I will get the error.
Workaround:
When the double quotes are added in front and in the back, the call will work.
Markus
Last edited by LvlLord on 2012-10-27, 21:41 UTC, edited 1 time in total.
Sorry but I can't understand where is a bug. If you specify path with spaces, you should enclose it with quotes. If you use %1 in editor's command line to specify path to a file, you need to enclose it with quotes to get it working with paths with spaces. Quotes are necessary to enclose any parameters with spaces.
Simply open Windows Run dialog and try to call your editor w/o quotes, same error.
Simply open Windows Run dialog and try to call your editor w/o quotes, same error.
What is TC 7.96 ????
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 4
- Joined: 2013-12-10, 10:21 UTC
Hello,
I am using TC (x64) 8.01 and I have the samme problem.
When I want to the functionnality of the "F4" button, it's tells me that the file is not found (the path of the program).
I can make a short cut on the menu bar, but it is not opening the file I want to edit.
I try to add " before and after the ling like: "C:\Prog....exe" but it is not helping.
It has worked until recently but not anymore
Do you have an idea to solve this?
I try yo uninstall and reinstall notepad++, but it doesn't help!
I am using TC (x64) 8.01 and I have the samme problem.
When I want to the functionnality of the "F4" button, it's tells me that the file is not found (the path of the program).
I can make a short cut on the menu bar, but it is not opening the file I want to edit.
I try to add " before and after the ling like: "C:\Prog....exe" but it is not helping.
It has worked until recently but not anymore

Do you have an idea to solve this?
I try yo uninstall and reinstall notepad++, but it doesn't help!
Sincérement / venlig hilsen / Kind Regards
Jean-Christophe
Jean-Christophe
Works fine here with TC 8.50 b12christophe wrote:Hello,
I am using TC (x64) 8.01 and I have the samme problem.
When I want to the functionnality of the "F4" button, it's tells me that the file is not found (the path of the program).
I can make a short cut on the menu bar, but it is not opening the file I want to edit.
I try to add " before and after the ling like: "C:\Prog....exe" but it is not helping.
It has worked until recently but not anymore![]()
Do you have an idea to solve this?
I try yo uninstall and reinstall notepad++, but it doesn't help!
Browse in the Configuration dialog to the exe and TC automatically adds the required "" around the path.
-
- Junior Member
- Posts: 4
- Joined: 2013-12-10, 10:21 UTC
I am editing some critical data, so I will wait for the defintly release.Horst.Epp wrote:Works fine here with TC 8.50 b12
Browse in the Configuration dialog to the exe and TC automatically adds the required "" around the path.
I try to uninstall and reinstall TC (8.01) but it is still not working.
I don't understand, because it was working last week!
Sincérement / venlig hilsen / Kind Regards
Jean-Christophe
Jean-Christophe
Did you add the quotes in Configuration/Options/Edit-View or in the 'menu bar' you were talking about?christophe wrote:When I want to the functionnality of the "F4" button, it's tells me that the file is not found (the path of the program).
I can make a short cut on the menu bar, but it is not opening the file I want to edit.
I try to add " before and after the ling like: "C:\Prog....exe" but it is not helping.
Do you have access to the file? Can you edit the file when using explorer and context menu?
-
- Junior Member
- Posts: 4
- Joined: 2013-12-10, 10:21 UTC
Thank you for your answer White
The problems started after a notepad++ upgrading.
In the Configuration/Options/Edit-View. In the menu bar notepad++ is opening normally.Did you add the quotes in Configuration/Options/Edit-View or in the 'menu bar' you were talking about?
Yes, I have access to the file and can edit it when using explorer and context menu.Do you have access to the file? Can you edit the file when using explorer and context menu?
The problems started after a notepad++ upgrading.
Sincérement / venlig hilsen / Kind Regards
Jean-Christophe
Jean-Christophe
-
- Junior Member
- Posts: 4
- Joined: 2013-12-10, 10:21 UTC
[solved]
Yes it is!
both have to run as administrator.
Thank you very much White
both have to run as administrator.
Thank you very much White
Sincérement / venlig hilsen / Kind Regards
Jean-Christophe
Jean-Christophe
Well
I updated to the lasted version though I orginally had no need to do so since all was fine
except until today:
I had to reinstall windows and went for win 8.1 64bit. But now I can no more edit files directly via F4 external editor settings.
Path should be fine:
Editor="C:\Program Files\Notepad2\Notepad2.exe" "%1"
Viewer="C:\Program Files\Notepad2\Notepad2.exe" "%1"
Solution here says: run as administrator...
Well, I tried and did not work besides I do not want to run TC as admin all the time.
So, please tell me what I can do?
I updated to the lasted version though I orginally had no need to do so since all was fine
except until today:
I had to reinstall windows and went for win 8.1 64bit. But now I can no more edit files directly via F4 external editor settings.
Path should be fine:
Editor="C:\Program Files\Notepad2\Notepad2.exe" "%1"
Viewer="C:\Program Files\Notepad2\Notepad2.exe" "%1"
Solution here says: run as administrator...
Well, I tried and did not work besides I do not want to run TC as admin all the time.
So, please tell me what I can do?
dd