Create multiple files at once

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

User avatar
petermad
Power Member
Power Member
Posts: 14811
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Create multiple files at once

Post 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.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
KozakMak
Senior Member
Senior Member
Posts: 371
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Create multiple files at once

Post by *KozakMak »

ghisler(Author) wrote: 2023-07-05, 16:02 UTC It allows to just open
how can i use it?
cm_Edit "%commander_path%\wincmd.ini" ?
OS: Win10 | TC: latest x64
User avatar
petermad
Power Member
Power Member
Posts: 14811
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Create multiple files at once

Post by *petermad »

2KozakMak
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.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
KozakMak
Senior Member
Senior Member
Posts: 371
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Create multiple files at once

Post by *KozakMak »

petermad wrote: 2023-07-11, 11:40 UTC it is promised to be fixed in beta 11.
:?:
OS: Win10 | TC: latest x64
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3300
Joined: 2003-05-06, 11:46 UTC

Re: Create multiple files at once

Post 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) :?:
Hoecker sie sind raus!
User avatar
petermad
Power Member
Power Member
Posts: 14811
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Create multiple files at once

Post 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
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Create multiple files at once

Post 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.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14811
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Create multiple files at once

Post by *petermad »

cm_Edit /N="%COMMANDER_INI%" now works in the command field in TC 11.00rc2.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
KozakMak
Senior Member
Senior Member
Posts: 371
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Create multiple files at once

Post 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
:?
OS: Win10 | TC: latest x64
User avatar
petermad
Power Member
Power Member
Posts: 14811
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Create multiple files at once

Post 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".
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
KozakMak
Senior Member
Senior Member
Posts: 371
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Create multiple files at once

Post by *KozakMak »

petermad wrote: 2023-07-20, 07:26 UTC This button always opens the current wincmd.ini
nope
same behavior :cry:

win7 x64
TC 11RC2 x64
[Configuration]
Editor=%commander_path%\Utils\TCER\tcer.exe
OS: Win10 | TC: latest x64
User avatar
petermad
Power Member
Power Member
Posts: 14811
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Create multiple files at once

Post by *petermad »

2KozakMak
What happens if you (temporarily) change:
Editor=%commander_path%\Utils\TCER\tcer.exe
to
Editor=notepad.exe
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 14811
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Create multiple files at once

Post 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.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
KozakMak
Senior Member
Senior Member
Posts: 371
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Create multiple files at once

Post by *KozakMak »

petermad wrote: 2023-07-20, 07:50 UTC Editor=notepad.exe
it works!
OS: Win10 | TC: latest x64
User avatar
petermad
Power Member
Power Member
Posts: 14811
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Create multiple files at once

Post by *petermad »

2KozakMak
And how about with tcer.exe and NO files selected - does that not work?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply