When i copy a file packed from OS the destination loss the packed attribute.
Do it is possible to preserve it with TC and/or dos?
copying preserving packed os attribute
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50923
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No, that's not how the Windows CopyFileEx function behaves. It copies the file depending on the attribute of the target FOLDER: If the target folder has the "compressed" attribute set, all files copied to it will also have this attribute. Otherwise they will be uncompressed.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- sqa_wizard
- Power Member
- Posts: 3897
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
If you copy/move file with compression and/or encryption attributes onto FAT32 drive, it will lose those atributes because FAT32 doesn't support those.
Also, if you copy files from NTFS to NTFS, they won't transfer the attributes, you have to MOVE them. Only with moving they will keep the 'compressed' attribute.
Also, if you copy files from NTFS to NTFS, they won't transfer the attributes, you have to MOVE them. Only with moving they will keep the 'compressed' attribute.