The fastest way to copy dir/files in Total Commander

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

Moderators: white, Hacker, petermad, Stefan2

User avatar
nuclear0508
Junior Member
Junior Member
Posts: 19
Joined: 2003-11-06, 10:08 UTC

The fastest way to copy dir/files in Total Commander

Post by *nuclear0508 »

Hi all!

After a very long time searching for the fastest way to copy file, I found this ideal tool: FastCopy. No other applications I've ever used copied faster than this one. It can detect the source & target belongs to the same or different HDDs & choose the best method (separate threads if different physical HDDs). Network location is also recognized. The copied files are not fragmented anymore because it allocated all the space needed before copying.
You can check how it works in reality yourself.

Setup:
Download the tool from this site: http://www.ipmsg.org/tools/fastcopy.html.en
Link: http://ftp.vector.co.jp/pack/win95/util/file/FastCopy171.zip
The installation is as simple as any other software.

Then, in TC add a button as follow.
The command is:
%COMMANDER_PATH%\Tools\Fastcopy.exe /auto_close /open_window /cmd=noexist_only /estimate
Parameters: %P%N /to="%T"
Start path: %TMP%
Icon file: <any icon you want>
Remember to change the path according to the location where you installed.
See the picture for an example.
Image: http://farm4.static.flickr.com/3218/2715656149_0491b7eab4_o_d.png

Usage:
Actually, this button will copy the file/dir under the cursor to the current target path (the current dir in the inactive panel).
Just place the cursor at the file/dir you want to copy & click the button. Do not use drag & drop because the parameters will be ignored :cry: .
Choose a big file/folder to check (should be more than 500MB because it is really fast).
The tool has some other options, you should check the help file for more details.

Improvement:
I tried but don't know how to copy all the selected files & folders to the destination. If somebody finds the way, it will be wonderful. And most of all, I wish TC's copy speed is as fast as this (faster? :wink: ).

I hope this article will help.
Thanks for reading.
Last edited by nuclear0508 on 2008-07-30, 08:31 UTC, edited 1 time in total.
User avatar
raeubi
Power Member
Power Member
Posts: 575
Joined: 2003-11-25, 09:01 UTC
Location: Rhein/Main

Post by *raeubi »

I use FastCopy with following em_* command:

Code: Select all

[em_CopyWithFastCopy]
cmd=%Commander_Path%\Adds\FastCopy\Fastcopy.exe /auto_close /open_window /cmd=noexist_only /estimate 
Param=%S /to="%T"
Selectetd files are added with parameter %S
Räubi
(#2852 + #287609)
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

The copied files are not fragmented anymore because it allocated all the space needed before copying.
I cannot confirm that, have just copied a 60 MB and a 300 MB test file on a fragmented partitition with 500 MB free, one time with TC (CopyFileEx method), the other time with FastCopy, after deleting the file. I have executed fsutil volume dismount X: before each copy, to make sure that no NTFS administrative tasks would compromise the test result.

The smaller file fragmented to 26 extents, the bigger one to 846, no matter if copied with TC or FastCopy...

Icfu
This account is for sale
User avatar
nuclear0508
Junior Member
Junior Member
Posts: 19
Joined: 2003-11-06, 10:08 UTC

Post by *nuclear0508 »

icfu wrote:
The copied files are not fragmented anymore because it allocated all the space needed before copying.
I cannot confirm that, have just copied a 60 MB and a 300 MB test file on a fragmented partitition with 500 MB free, one time with TC (CopyFileEx method), the other time with FastCopy, after deleting the file. I have executed fsutil volume dismount X: before each copy, to make sure that no NTFS administrative tasks would compromise the test result.

The smaller file fragmented to 26 extents, the bigger one to 846, no matter if copied with TC or FastCopy...

Icfu
Of course it depends on the partition state. It just tries it's best. 8)
Last edited by nuclear0508 on 2008-07-30, 09:26 UTC, edited 1 time in total.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Well, the point was that you have stated that the copied files would not be fragmented "anymore", which sounded as if it would imply a statement like "in opposite to TC, which fragments files".

TC does its best, just like FastCopy then...

Anyway, the copy speed is indeed faster, so it's a good alternative when no descript.ion files need to be processed and/or directory dates be kept.

Icfu
This account is for sale
User avatar
Antonski
Junior Member
Junior Member
Posts: 15
Joined: 2007-11-13, 21:22 UTC
Location: Sofia, Bulgaria

Post by *Antonski »

icfu wrote: Anyway, the copy speed is indeed faster, so it's a good alternative when no descript.ion files need to be processed and/or directory dates be kept.
It doesn't work with ftp transfer, although I cannot figure out if it is supposed to work in this case. Any ideas?
~
User avatar
raeubi
Power Member
Power Member
Posts: 575
Joined: 2003-11-25, 09:01 UTC
Location: Rhein/Main

Post by *raeubi »

doesn't work with ftp transfer
FastCopy did not support ftp
Räubi
(#2852 + #287609)
User avatar
Antonski
Junior Member
Junior Member
Posts: 15
Joined: 2007-11-13, 21:22 UTC
Location: Sofia, Bulgaria

Post by *Antonski »

raeubi wrote:FastCopy did not support ftp
Thanks for the info.
BTW, how the em_* commands could be implemented? Sould they be added to totalcmd.inc file or somewhere else? How the they can be invoked? I've tried to find some info, but even google didn't help :|
~
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Info----

Post by *Clo »

2Antonski

:) Hello !

• Google is sometimes a big dung… Please, have a glance HERE :wink:

- Hoping that helps…

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

I've tried to find some info, but even google didn't help
Google works here:
http://www.google.com/search?hl=en&q=em_+commands+site:ghisler.ch

The Wiki article is at fifth position, I think this is feasible...

Icfu
This account is for sale
User avatar
Antonski
Junior Member
Junior Member
Posts: 15
Joined: 2007-11-13, 21:22 UTC
Location: Sofia, Bulgaria

Post by *Antonski »

icfu, clo,

thank you for the useful links.
I'll try the tips when I go home.

~~
tosbsas
Senior Member
Senior Member
Posts: 428
Joined: 2003-12-19, 13:12 UTC
Location: Lima, Perú
Contact:

Post by *tosbsas »

raeubi wrote:I use FastCopy with following em_* command:

Code: Select all

[em_CopyWithFastCopy]
cmd=%Commander_Path%\Adds\FastCopy\Fastcopy.exe /auto_close /open_window /cmd=noexist_only /estimate 
Param=%S /to="%T"
Selectetd files are added with parameter %S
I am doing something wrong - I get then open directory as destination, but the source it says - doesn't exist.

Could you post your exact settings in em_copy Fastcopy (cm_commandbrowser setup)?

Ruben
A New Generation transformed by the Power of God
tosbsas
Senior Member
Senior Member
Posts: 428
Joined: 2003-12-19, 13:12 UTC
Location: Lima, Perú
Contact:

Post by *tosbsas »

My settings are:

command: fastcopy.exe
Parameter: /auto_close /open_window /cmd=noexist_only /estimate param:%S /=%T
Path:C:\Programme\....\fastcopy
Icondatei: win.ico

Ruben
A New Generation transformed by the Power of God
User avatar
raeubi
Power Member
Power Member
Posts: 575
Joined: 2003-11-25, 09:01 UTC
Location: Rhein/Main

Post by *raeubi »

The code I'd postet was pasted from my user command ini.

My cm_commandbrowser setup:

Command: %Commander_Path%\Adds\FastCopy\Fastcopy.exe /auto_close /open_window /cmd=noexist_only /estimate
Parameter: %S /to="%T"

All other text boxes are empty!
Räubi
(#2852 + #287609)
tosbsas
Senior Member
Senior Member
Posts: 428
Joined: 2003-12-19, 13:12 UTC
Location: Lima, Perú
Contact:

Post by *tosbsas »

what am I doing wrong???

I have set it the same, only thing that changes is location of fastcopy.exe

I put a button on my toolbar, i mark a file and press the button -I get an error message about too few/many parameters

Ruben
A New Generation transformed by the Power of God
Post Reply