Page 3 of 4
Re: Create multiple files at once
Posted: 2023-07-06, 09:35 UTC
by petermad
you can also use a counter as in the regular Shift+F4 dialog box.
Maybe it should be added that the templates from the [+] button can be used.
Re: Create multiple files at once
Posted: 2023-07-11, 08:44 UTC
by KozakMak
how can i use it?
cm_Edit "%commander_path%\wincmd.ini" ?
Re: Create multiple files at once
Posted: 2023-07-11, 11:40 UTC
by petermad
2
KozakMak
how can i use it?
cm_Edit "%commander_path%\wincmd.ini" ?
cm_Edit /N="%|COMMANDER_INI|" (from command line)
Currently you can not use cm_Edit /N="%|COMMANDER_INI|" in the Command field, you have to put the /N="%|COMMANDER_INI|" part in the Parameters field - it is promised to be fixed in beta 11.
Re: Create multiple files at once
Posted: 2023-07-12, 11:35 UTC
by KozakMak
petermad wrote: ↑2023-07-11, 11:40 UTC
it is promised to be fixed in beta 11.
Re: Create multiple files at once
Posted: 2023-07-12, 12:00 UTC
by Sir_SiLvA
KozakMak wrote: ↑2023-07-12, 11:35 UTC
petermad wrote: ↑2023-07-11, 11:40 UTC
it is promised to be fixed in beta 11.
Have you tried RC1 ( = beta 11)
Re: Create multiple files at once
Posted: 2023-07-12, 12:50 UTC
by petermad
Have you tried RC1 ( = beta 11)
Unfortunately using environment variables with cm_Edit in the Command field still doesn't work in TC 11.00rc1
See:
https://ghisler.ch/board/viewtopic.php?p=436892#p436892
Re: Create multiple files at once
Posted: 2023-07-12, 14:21 UTC
by ghisler(Author)
In the command line, you need to use
cm_Edit /N="%|COMMANDER_INI|"
because it treats the parameter like a second line.
On a button you can't use "%COMMANDER_INI%" as a parameter because the conversion of the environment vars isn't handled in this case.
Re: Create multiple files at once
Posted: 2023-07-19, 13:58 UTC
by petermad
cm_Edit /N="%COMMANDER_INI%" now works in the command field in TC 11.00rc2.
Re: Create multiple files at once
Posted: 2023-07-20, 06:30 UTC
by KozakMak
petermad wrote: ↑2023-07-19, 13:58 UTC
cm_Edit /N="%COMMANDER_INI%"
i made button with it
when the folder is under the cursor - pressing button opened wincmd.ini
and when the file is under the cursor - pressing button opened that file
Re: Create multiple files at once
Posted: 2023-07-20, 07:26 UTC
by petermad
and when the file is under the cursor - pressing button opened that file
This button always opens the current wincmd.ini, no matter where the cursor is placed and no matter which directory you are in (TC 11.00rc2):
Code: Select all
TOTALCMD#BAR#DATA
cm_Edit /N="%COMMANDER_INI%"
wcmicons.dll,28
Edit wincmd.ini
To make the button:
1. Mark the text in the box here above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctrl+C).
3. Right click on TC's buttonbar and choose "Paste".
Re: Create multiple files at once
Posted: 2023-07-20, 07:38 UTC
by KozakMak
petermad wrote: ↑2023-07-20, 07:26 UTC
This button always opens the current wincmd.ini
nope
same behavior
win7 x64
TC 11RC2 x64
[Configuration]
Editor=%commander_path%\Utils\TCER\tcer.exe
Re: Create multiple files at once
Posted: 2023-07-20, 07:45 UTC
by petermad
2KozakMak
What happens if you (temporarily) change:
Editor=%commander_path%\Utils\TCER\tcer.exe
to
Editor=notepad.exe
Re: Create multiple files at once
Posted: 2023-07-20, 07:50 UTC
by petermad
2KozakMak
What happens if you (temporarily) change:
Editor=%commander_path%\Utils\TCER\tcer.exe
to
Editor=notepad.exe
I use: %COMMANDER_PATH%\TOOLS\F4Menu\F4Menu.exe with no problems - it is only if there are one or more files selected, that those files are opened.
Have you tried with no selected files? maybe tcer.exe considers the file under the cursor selected even if no selection is done.
Re: Create multiple files at once
Posted: 2023-07-20, 07:58 UTC
by KozakMak
petermad wrote: ↑2023-07-20, 07:50 UTC
Editor=notepad.exe
it works!
Re: Create multiple files at once
Posted: 2023-07-20, 08:00 UTC
by petermad
2KozakMak
And how about with tcer.exe and NO files selected - does that not work?