[Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
Moderators: Hacker, petermad, Stefan2, white
[Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
[Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work. Instead, it ends with a strange error message and a file created afterwards with the appropriate name and size zero. Annoying when new functions are implemented and the existing functions are affected. Please release Tc11b10a right now.
Joube
Joube
Re: [Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
Not confirmed. Please add more details. What error message? What file did you try to create?
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
Not confirmed. What are your editor settings in Configuration - Options Edit/View?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
JOUBE,
Works completely fine here.
Roman
Works completely fine here.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: [Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
Like every day: 20 and more times:
Shift+F4 c.txt Enter (or x.txt, b.txt, y.cmd, .... I rename the file later in the process...)
This line worked 5 (or many more) years now:
windcmd.ini
I have change it now manually to:
windcmd.ini
and it worked now.
But it is a real bug:
I have insert the Editor in configuration -> Editor with brakets. And this should be okay (I have generated it and copied from the Tc commandline via Ctrl+Shift+Enter) because of spaces in pathname. Result are the "" .... "" in the ini, which are (started with Tc11B10) problematic *).
Please fix it.
Joube
*) And, I think, not only at my wincmd.ini but thousands others also (In this case I am "the normal one", I think
).
Shift+F4 c.txt Enter (or x.txt, b.txt, y.cmd, .... I rename the file later in the process...)
This line worked 5 (or many more) years now:
windcmd.ini
Code: Select all
Editor=""C:\Program Files (x86)\Npp\notepad++.exe""
I have change it now manually to:
windcmd.ini
Code: Select all
Editor="C:\Program Files (x86)\Npp\notepad++.exe"
But it is a real bug:
I have insert the Editor in configuration -> Editor with brakets. And this should be okay (I have generated it and copied from the Tc commandline via Ctrl+Shift+Enter) because of spaces in pathname. Result are the "" .... "" in the ini, which are (started with Tc11B10) problematic *).
Please fix it.
Joube
*) And, I think, not only at my wincmd.ini but thousands others also (In this case I am "the normal one", I think

Last edited by JOUBE on 2023-07-06, 09:35 UTC, edited 5 times in total.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
I changed a lot when calling Shift+F4 to support all the new functions with cm_Edit parameters. One change was using ShellExecuteEx instead of the old WinExec, because the old function doesn't support elevation (run as admin).
I will check why it doesn't work with double quotes, it should work fine.
I will check why it doesn't work with double quotes, it should work fine.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
2JOUBE
what will be if you use this line:?
what will be if you use this line:
Code: Select all
Editor=""C:\Program Files (x86)\Npp\notepad++.exe" "%1""
#146217 personal license
Re: [Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
Also does not working in TC 11 b1ta 10.
If I replace just totalcmd.exe by beta 9 version all is OK.
I tried old worked up to beta 9 variant:
"%COMMANDER_PATH%\Programs\Notepad++x86Portable\notepad++.exe" "%1"
""%COMMANDER_PATH%\Programs\Notepad++x86Portable\notepad++.exe" "%1""
Both are working in beta 9, no one working in beta 10.
If I replace just totalcmd.exe by beta 9 version all is OK.
I tried old worked up to beta 9 variant:
"%COMMANDER_PATH%\Programs\Notepad++x86Portable\notepad++.exe" "%1"
""%COMMANDER_PATH%\Programs\Notepad++x86Portable\notepad++.exe" "%1""
Both are working in beta 9, no one working in beta 10.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
I can confirm that the editor name with double quotes is parsed incorrectly. I will fix it in the next beta. Sorry for the troubles.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
Double double quotes and Tc inis: a topic in itself. Also, for example, in the [DirMenu] section. That goes into the basics of Tc: Therefore don't change the basics, just keep it in mind.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
That's due to how Windows handles ini files: If a value in an ini file is surrounded by double quotes, Windows removes them when reading the value, e.g.Double double quotes
value="1"
will return just 1.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Member
- Posts: 118
- Joined: 2004-03-04, 14:56 UTC
- Location: Germany
Re: [Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
I use Emacs as my editor. I have the same error, but it does not work with single quotes, too. My line in wincmd.ini is now
Editor="C:\Program Files\Emacs\emacs-28.2\bin\runemacs.exe" "%1"
Editor="C:\Program Files\Emacs\emacs-28.2\bin\runemacs.exe" "%1"
-
- Member
- Posts: 118
- Joined: 2004-03-04, 14:56 UTC
- Location: Germany
Re: [Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
With double quotes it does work with F4, with single quotes it doesn't even work with F4!
-
- Member
- Posts: 118
- Joined: 2004-03-04, 14:56 UTC
- Location: Germany
Re: [Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
But it dows work without any quotes.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [Tc11b10] Shift+F4 (edit new file, a basic function of Tc) does not work.
Try without parameters, e.g. just
Editor=C:\Program Files\Emacs\emacs-28.2\bin\runemacs.exe
Editor=C:\Program Files\Emacs\emacs-28.2\bin\runemacs.exe
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com