Page 1 of 2
Multi-execute feature
Posted: 2008-02-11, 18:06 UTC
by CopyCats
By popular request

:
I think an internal multi-execute feature would be very useful. Basically, it could be Total Commander's version of the "For %P" construct in DOS, except that it would work on 'selected files' too. It would allow you to perform an external operation on multiple files, one at a time.
The dialog could look something like this:
[face=courier]
Command to execute: c:\progs\txt2jpg.exe
Parameters: %P%N /x /y /z
|
Use: [x] Selected files [_] Filespec: *.*
Execute: [_] Simultaneously [x] Consecutively
|
Save this definition as internal command: MYTXT2JPG[/face]
(that last option would allow you to create a button that executes this same command, so you can easily re-use it in the future)
All those in favor, say Aye!
Posted: 2008-02-11, 20:31 UTC
by nsp
Support +1
An additional request is to allow multiple command.
A modification of the user_command should be sufficient with additional parameters ( Single/Multi-File/Multi-Recursive Sequential,Parallel)
Posted: 2008-02-12, 09:25 UTC
by petermad
Aye!
Posted: 2008-02-12, 10:19 UTC
by Valery_Kondakoff
Aye! IMHO, the ability to control launching of the multiple selected files is one of the essential features of a file manager. And CopyCats proposal seems to be clean and user friendly.
+1!
Posted: 2008-02-12, 11:08 UTC
by m^2
+1. But [x]Consecutively has to be done in separate thread.
Posted: 2008-02-13, 02:04 UTC
by Sam_Zen
Aye!
So far, I often solved such things by making a custom .BAT-file, and using the command-bar of TC to execute.
Adding this feature as an internal command, seems quite elegant.
Posted: 2008-02-13, 07:24 UTC
by Stefan2
Support ++
plus
Use: [_] Selected files [X] Filespec: *.tmp
[X] Recursive
plus
Description: _this command is for... ____
(yes!, i know branch view
)
Posted: 2008-02-21, 20:14 UTC
by Rein de Jong
Support ++
plus:
Option to ask for the command such as:
echo seen > %L
Posted: 2008-02-25, 11:27 UTC
by Dreamer
Support.
Just need this.
Posted: 2008-02-25, 13:41 UTC
by sas2000
Interesting feature, support ++.
Posted: 2008-02-25, 14:03 UTC
by JohnFredC
Support++
Posted: 2008-02-25, 20:05 UTC
by ghisler(Author)
There is a tool called lst2multi available on our addons page which can be used for this purpose:
http://www.ghisler.com/tools.htm#other
lst2multi 1.3
List to multi-instance converter. This tool can be used together with the button bar in Total Commander to open all selected files with a specific program, with the click of a single button (direct download).
Posted: 2008-02-26, 14:58 UTC
by Valery_Kondakoff
ghisler(Author) wrote:There is a tool called lst2multi
This was discussed a million times: such a tools have a big drawback - user should create separate button for every specific program he wants to use. And it is impossible to use such a tool in command line, because placeholders are not expanded.
Posted: 2008-02-27, 06:52 UTC
by nsp
ghisler(Author) wrote:There is a tool called lst2multi available on our addons page which can be used for this purpose:
2ghisler(Author)
The aim of this is to have the functionality
integrated in TC and to have a single point where we configure/define
"user command" that can be used for a selection of file instead of only having effect on the current file !
I developed a lst2multi replacement as external tool to be able to define em_cmd and execute such command using alias in the command line ! But it is more elegant and easier to have a single usecmd.ini file to maintain instead of having additional files/syntax !
Posted: 2010-04-23, 11:12 UTC
by GammelBert
I would like to see this integrated in TC, too.