Small tool for TC : TC Batch Builder & Launcher

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
nsp
Power Member
Power Member
Posts: 1913
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Small tool for TC : TC Batch Builder & Launcher

Post by *nsp »

==
I've done a small utility for TC and other file lister the %L option used in the button bar.
this tool get a list of file form a file, build and launch a bat file accordind to some options and parameters.

for more :http://tccfestuff.free.fr/

=====
in French :
J'ai fait un petit programme qui peut être utilisé en conjontion avec TC... C'est un programme qui utilise "Fichier selectionnés" %L et construit un batch à partir de cette liste. C'est très pratique pour les boutons....

Si cette utilitaire vous semble util, le voici.....http://tccfestuff.free.fr/

l'aide n'est pour l'instant qu'en Anglais si c'est utile, je rajouterai des explication en francais.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Has anyone forced it to work? I didn't.
It doesn't pass the file name with %f parameter and it always shows me an error, like this:
lcc runtime
Exception: 0xc0000005
Segment violation
Address: 0x73d2f2f4
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
nsp
Power Member
Power Member
Posts: 1913
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

in fact, insde TC for a button it should bu used as follow :

Command : [path to]\tcbbl.exe
parameters : -q %L ren %%f %%n.disabled

this command allow to "remane selected files adding .disable at the end with the dos ren command"

Command : [path to]\tcbbl.exe
parameters : -q %L ren %%f %%z
this command remove the latest extension of a file


Command : [path to]\tcbbl.exe
parameters : -q %L @echo %%n in %%f $Ac:\myselected files.txt

this command list all selected file into c:\myselected files.txt

% sign is already used by TC, you have to protect the "%" by a "%".



For the seg fault, i will check
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

nsp wrote:in fact, insde TC for a button it should bu used as follow :

Command : [path to]\tcbbl.exe
parameters : -q %L ren %%f %%n.disabled

this command allow to "remane selected files adding .disable at the end with the dos ren command"

Command : [path to]\tcbbl.exe
parameters : -q %L ren %%f %%z
this command remove the latest extension of a file


Command : [path to]\tcbbl.exe
parameters : -q %L @echo %%n in %%f $Ac:\myselected files.txt

this command list all selected file into c:\myselected files.txt

% sign is already used by TC, you have to protect the "%" by a "%".

For the seg fault, i will check
Please tell me how can I use BAT BUILDER to copy a lot of files from different path into another path. The list of files are stored in a file.
To be more explicit, I want to copy all files from list, stored with whole path into file c:\mylisfiles, to d:\anotherpath .
My Best Wishes,

Eugen
User avatar
nsp
Power Member
Power Member
Posts: 1913
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

Use latest version, from New Version
%syntax changed to $syntax since 2006.

To use simple stuff (no super_wdx) you can only use the update program.
eugensyl wrote: 8< ----- snip snip --------------------
To be more explicit, I want to copy all files from list, stored with whole path into file c:\mylisfiles, to d:\anotherpath .
if you want to copy all files "without path" it is as simple as :

Code: Select all

tcbl c:\mylistFiles copy $f "d:\anotherpath"
if anotherpath do not exist;

Code: Select all

tcbl c:\mylistFiles md "d:\anotherpath" $( copy $f "d:\anotherpath"

if you want to use extension filter, you need to use tcbl.ini to copy all images, all archives, all music, all video in separated folder......

Code: Select all

------in TCBL.INI
[eugensyl_copy]
pre=md "$1"
pre=md "$1\img"
pre=md "$1\Arc"
......
cmd=<jpg|png|gif|tiff|bmp|svg|psd|xcf>copy $f "$1\img"
cmd=<rar|zip|7z|gz|tar|cab|sqx>copy $f "$1\arch"
.........
and call tcbl like :

Code: Select all

tcbl -i c:\mylistFiles  eugensyl_copy "d:\anotherpath"
Hope this help !
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

nsp wrote:Hope this help !
Exactly what I looking for. Many thanks! It's work very well.

Actually, I want to copy from many storage disks to one and the list was made with TC through clipboard.
My Best Wishes,

Eugen
Post Reply