Page 1 of 1

File Folder Operations using External Program

Posted: 11.11.2014, 05:39
by bill0255
I use a program called TeraCopy to copy and move files around and especially for mass file moves from one network drive to another. I decided to add it to the FreeCommanders optional File/folder operations for both copy and move (Tools / Options / File/folder operations).

TeraCopy accepts parameters and after a little experimenting what I'd come up with was the following and is what I entered into the File/folder operations General tab.

O:\Portable\TeraCopy\TeraCopy.exe Copy %ActivSel% %InactivDir% /OverwriteAll - for copying.
O:\Portable\TeraCopy\TeraCopy.exe Move %ActivSel% %InactivDir% /OverwriteAll - for moving.

It works fine if the target folder (%InactivDir%) does not contain any spaces in any part of the path. If the path does contain a space then an error stating that the file path is not valid pops-up. I've experimented but nothing I've tried works.

I'm not sure if it's a problem with the system variable or how the parameter is passed. If someone has a suggestion about how to get this to work I'd appreciate it.

Thanks - Bill

Re: File Folder Operations using External Program

Posted: 11.11.2014, 07:03
by Timon
See topics viewtopic.php?t=1091 and viewtopic.php?f=2&t=5217

You have errors in command syntax.

Re: File Folder Operations using External Program

Posted: 13.11.2014, 06:02
by bill0255
Hi Timon,

Thank you. That worked.