Author Topic: Configuring TeraCopy  (Read 62 times)

mgigli

  • Newbie
  • *
  • Posts: 1
    • View Profile
Configuring TeraCopy
« on: Today at 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: 4867
    • View Profile
    • Multi Commander
Re: Configuring TeraCopy
« Reply #1 on: Today at 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: Today at 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"};