Problem copying a high number of files, TC exits

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

I've used junctions in the past to access (copy|delete) folder paths that are too deep.

E.g.

C:\Users\FOO\Documents\ProgramName\folder1\folder1-a\folder1-a-a\folder1-a-a-a\ ...

-> junction C:\deepFolder "C:\Users\FOO\Documents\ProgramName\folder1\folder1-a\folder1-a-a\folder1-a-a-a"

Then for copy/move/delete considerations the path from that point is only 10 chars (deepFolder).
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC can currently handle depts up to 1022 characters. However, the recycle bin cannot handle them in all versions of Windows, so you will have to delete the files/folders directly with Shift+Delete.
Author of Total Commander
https://www.ghisler.com
gpujol
Junior Member
Junior Member
Posts: 16
Joined: 2003-05-10, 22:44 UTC

Post by *gpujol »

I always delete with Shift + Delete, by the way.

Regardless of how many levels of directory recursion Total Commander can handle, the fact remains that version 7 processes the whole copy without problems, while version 8 exists unexpectedly.

There is another detail: this was NOT a move operation but a copy to a destination, reformatting of the source and copy back to the clean source.

The delete part of the move should have found the problem with the nested directories.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

There isn't any known problem with 8 versus 7, so it would be great if you could send me a sample path name which is causing this problem in TC8.
Author of Total Commander
https://www.ghisler.com
gpujol
Junior Member
Junior Member
Posts: 16
Joined: 2003-05-10, 22:44 UTC

Post by *gpujol »

Christian,

Is not that easy, the problem happened with a monthly batch operation for backing up a WHOLE partition to a secondary drive. It involves almost 700,000 files.

As I explained in my first mail the process failed with TC8 and the program exited without any error message. I run the same exact process with TC7 and it completed without problems.

I recently found a problem in that drive with a Java-generated recursive subdirectory tree and not having found any other problem with that drive i assume that could be the reason for TC8 problem.

I could not record how many levels that tree had. Besides, I'm glad is gone (jj).

I do not know at this point how to recreate that tree from scratch.

Maybe next time I run that backup procedure I could try to create a deeply enough directory tree as a test (I understand this can be done with RoboCopy.exe) and see what happens.

Regards,

George
gpujol
Junior Member
Junior Member
Posts: 16
Joined: 2003-05-10, 22:44 UTC

Post by *gpujol »

Hi everybody,

I was finally able to create a very deeply nested directory structure with Robocopy with a small utility I coded.

I reinstalled TC 8.01 and run my monthly backup procedure (about 700,000 files) on two different computers.

TC finished correctly on both computers and refusing to process a directory structure deeper than the standard Windows limit.

I really cannot tell how my "problem directory structure" was created, and how deep it really was (it was created by a Java-based third party program).

I cannot tell either if my antivirus program got in the way, there are so many possible interactions.

I hope this could help another user who could (I really hope not) face the same problem.

Regards,

George Pujol
Post Reply