I've noticed that long path files does copy at the end of the whole process of a directory copy operation.
The dialog does appear and asks about keep long names. If press `Keep All`, then basically the operation proceeds with copy long path files.
But if before a click to `Keep All` do wait a while until USB drive fall sleep and then click, then the operation reports an error something about write protection.
I suspect the internal file handles must be reopened after the drive wake up or something like what. Because copy restart with skip existing files does copy the rest of files.
OS: Windows 8 x64 build 9600
[TC 11.02] USB drive sleep breaks copying long path files
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.02] USB drive sleep breaks copying long path files
Sorry, I don't think there is anything I can do in this case to prevent the USB drive from sleeping.
At least you get an error so you can redo the operation.
At least you get an error so you can redo the operation.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.02] USB drive sleep breaks copying long path files
2ghisler(Author) You can try to wake up the drive by check the first handle on access and if not, then try to reopen it.
Re: [TC 11.02] USB drive sleep breaks copying long path files
To prevent this, put in section [Configuration] of wincmd.ini:andry81 wrote: 2023-11-21, 05:39 UTC I've noticed that long path files does copy at the end of the whole process of a directory copy operation.
The dialog does appear and asks about keep long names. If press `Keep All`, then basically the operation proceeds with copy long path files.
Code: Select all
LongNameCopy=1
Joube
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.02] USB drive sleep breaks copying long path files
Moderator message
Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com