TC756: F4=file not found (cannot locate nodepad.exe)
Moderators: Hacker, petermad, Stefan2, white
TC756: F4=file not found (cannot locate nodepad.exe)
Tests performed under Win2K8 server 64bit.
When F4 is pressed, a "file not found" message appears. Editor is the default "notepad.exe". If the editor is set to "%SystemRoot%\system32\notepad.exe", it works just fine.
When F4 is pressed, a "file not found" message appears. Editor is the default "notepad.exe". If the editor is set to "%SystemRoot%\system32\notepad.exe", it works just fine.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Total Commander expects notepad.exe in Windows directory now if no path is given, as it is in all consumer versions of Windows. Why? When I just give "notepad.exe" to the launch function, it would launch the program from the current directory if there is one there. This Windows security hole was one of the main reasons for the 7.56 release.
Maybe you have a better idea how to find notepad when it's not in the default location?
Maybe you have a better idea how to find notepad when it's not in the default location?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
By default notepad.exe is in:
Windows XP 32-bit: Windows\notepad.exe
Windows 7 32-bit: Windows\notepad.exe
Windows 7 64-bit: Windows\notepad.exe (64-bit EXE)
So it is normal to start notepad.exe always from Windows directory. User always can change editor path if he has editor in non-standard place.
Windows XP 32-bit: Windows\notepad.exe
Windows 7 32-bit: Windows\notepad.exe
Windows 7 64-bit: Windows\notepad.exe (64-bit EXE)
So it is normal to start notepad.exe always from Windows directory. User always can change editor path if he has editor in non-standard place.
Last edited by MVV on 2010-12-02, 11:36 UTC, edited 1 time in total.
Not all versions. In windows2008 64bit server (plain and R2), notepad.exe is in system32 by default (the same exe also appears in syswow64, i'm not sure if there's any difference)ghisler(Author) wrote:Total Commander expects notepad.exe in Windows directory now if no path is given, as it is in all consumer versions of Windows.
Search for in system dir (system32) too.ghisler(Author) wrote:Maybe you have a better idea how to find notepad when it's not in the default location?
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
System32 folder contains 64-bit EXE while SysWow64 contains 32-bit one. But because of dumb x64 redirection you see that theese folders are equal.wanderer wrote:the same exe also appears in syswow64, i'm not sure if there's any difference
Yes, it's the very clear way MS has implemented this "feature". I wonder what will happen if after 20 years they decide to move to 128 bit. Will they add a system16 folder and put 128bit files in it?MVV wrote:System32 folder contains 64-bit EXE while SysWow64 contains 32-bit one. But because of redirection you see that theese folders are equal.wanderer wrote:the same exe also appears in syswow64, i'm not sure if there's any difference


- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Indeed. Confirmed also under 2K8 (not R2) 64-bit. Thanks for reminding Karl.karlchen wrote:The problem has been solved in T.C. 7.56a.

- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
For me still doesnt work
I've Windows 7 64 bit, TC 7.56a.wanderer wrote:Indeed. Confirmed also under 2K8 (not R2) 64-bit. Thanks for reminding Karl.karlchen wrote:The problem has been solved in T.C. 7.56a.
Same problem, not able to call editor with F4, no notepad, no other editor.
Editing manually wincmd.ini with quotes, double quotes double double quotes ecc. but it doesn't work always "file not found" message.
Hello, cangia.
The original bug, TC756: F4=file not found (cannot locate nodepad.exe), has definitely been fixed in T.C. 7.56a. And the original bug only affected Notepad.exe, not any other editor like Notepad2, Notepad++, PsPad etc pp.
Therefore, I wonder whether the symptoms that you see are related to the other bug report which you posted here: Change settings file directly: Not enough memory.
After all "Change settings files directly" calls Notepad and opens wincmd.ini and wcx_ftp.ini. This, as you report, gives a "Not enough memory" error.
Kind regards,
Karl
The original bug, TC756: F4=file not found (cannot locate nodepad.exe), has definitely been fixed in T.C. 7.56a. And the original bug only affected Notepad.exe, not any other editor like Notepad2, Notepad++, PsPad etc pp.
Therefore, I wonder whether the symptoms that you see are related to the other bug report which you posted here: Change settings file directly: Not enough memory.
After all "Change settings files directly" calls Notepad and opens wincmd.ini and wcx_ftp.ini. This, as you report, gives a "Not enough memory" error.
Kind regards,
Karl
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I see - it would be nice if you could complain to the Textpad author!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com