Multi-execute feature

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

User avatar
CopyCats
Member
Member
Posts: 195
Joined: 2003-02-05, 13:09 UTC
Location: Netherlands
Contact:

Multi-execute feature

Post by *CopyCats »

By popular request :wink: :

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!
User avatar
nsp
Power Member
Power Member
Posts: 1918
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post 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)
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Aye!
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Valery_Kondakoff
Junior Member
Junior Member
Posts: 92
Joined: 2004-06-27, 15:24 UTC

Post 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!
CU
VK
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

+1. But [x]Consecutively has to be done in separate thread.
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post 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.
0.618033988
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

Support ++

plus
Use: [_] Selected files [X] Filespec: *.tmp [X] Recursive


plus
Description: _this command is for... ____


(yes!, i know branch view :) )
User avatar
Rein de Jong
Senior Member
Senior Member
Posts: 394
Joined: 2005-01-30, 20:26 UTC
Location: NL
Contact:

Post by *Rein de Jong »

Support ++

plus:

Option to ask for the command such as:

echo seen > %L
Groetjes/
______/Rein

--- Moderator NL-forum ---
zie ook: https://www.reindejong.nl/totcmd
Dreamer
Junior Member
Junior Member
Posts: 77
Joined: 2004-12-22, 00:52 UTC

Post by *Dreamer »

Support.

Just need this.
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

Post by *sas2000 »

 
Interesting feature, support ++.
 
User avatar
JohnFredC
Power Member
Power Member
Posts: 886
Joined: 2003-03-14, 13:37 UTC
Location: Sarasota Florida

Post by *JohnFredC »

Support++
Licensed, Mouse-Centric, moving (slowly) toward Touch-centric
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post 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).
Author of Total Commander
https://www.ghisler.com
Valery_Kondakoff
Junior Member
Junior Member
Posts: 92
Joined: 2004-06-27, 15:24 UTC

Post 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.
CU
VK
User avatar
nsp
Power Member
Power Member
Posts: 1918
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post 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 !
User avatar
GammelBert
Member
Member
Posts: 109
Joined: 2007-02-21, 18:42 UTC
Location: Germany

Post by *GammelBert »

I would like to see this integrated in TC, too.
Post Reply