Author Topic: Configuring TeraCopy  (Read 4843 times)

mgigli

  • Newbie
  • *
  • Posts: 5
    • View Profile
Configuring TeraCopy
« on: April 12, 2026, 02:59:29 »
Hi, I'm new to MultiCommander, having come from TotalCommander, and I want to configure TeraCopy as an external command. So far, I can send one file to TeraCopy, but when I try to send a list of files, everything goes wrong. It seems that MultiCommander sends the list of files separated by spaces, but TeraCopy expects the list of files on separate lines. So, I would like to ask if anyone has already resolved this issue. If not, how would you recommend proceeding?
Should I create a script to send one file at a time, or should I change the list and replace the spaces with new lines?

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4891
    • View Profile
    • Multi Commander
Re: Configuring TeraCopy
« Reply #1 on: April 12, 2026, 08:47:46 »
You should be able to create that using MultiScript.
I don't know what the list of file should look like. but there is a command to save all selected items to a file. and it can be scripted. maybe that can be used.
(the command in menu> Edit > Save selection to file) but with UserDefinedScript it can be automated

Jean

  • Contributor
  • Active Member
  • *****
  • Posts: 125
    • View Profile
Re: Configuring TeraCopy
« Reply #2 on: April 12, 2026, 10:14:10 »
I'm using this snippet to send selected files to a rename tool of my own which picks up the file when started.

@var $files = GetSelectedPaths();
@var $filename = "c:\in\file_list.txt";
SaveArray($filename, $files, 1,  1);
MC.Run CMD={"C:\Tools\Rename\Win64\Debug\Rename.exe"};

total_annihilation00

  • Power Member
  • ****
  • Posts: 179
  • Tech Savant\ Envisioneering
    • View Profile
Re: Configuring TeraCopy
« Reply #3 on: April 13, 2026, 12:48:34 »
On my computer when I initiate a paste operation (cut/ copy) I get a Menu Popup asking whether to paste using Windows Explorer or the faster TeraCopy (I use it mostly for copying/ moving files to & fro my USB stick.)
« Last Edit: April 13, 2026, 12:50:54 by total_annihilation00 »
~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~


mgigli

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Configuring TeraCopy
« Reply #4 on: April 14, 2026, 20:22:10 »
I have one more question: would it be too difficult to add the option to send the list as one file per line instead of separated by a space? Several copy software programs use this format.

mgigli

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Configuring TeraCopy
« Reply #5 on: Today at 15:26:40 »
I finally managed to do it, with a bit of help.
I'm leaving my multiscript here for anyone who wants it.
At the moment, it works with files, folders and lists.
If there are any problems, please let me know, as it might need to be changed.

Quote
@var $listfile = TranslateEnvString( "%TEMP%" ) + "\\tc_list.txt";
@var $paths = GetSourceSelectedPaths();
@var $target = GetTargetPath();
SaveArray( $listfile, $paths, 1, 1 );
@var $args = "Copy *\"" + $listfile + "\" \"" + $target + "\"";
MC.Run CMD="C:\Program Files\TeraCopy\TeraCopy.exe" ARG="{$args}"