How to clear archive bit in zipped files..?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
blazerman
Junior Member
Junior Member
Posts: 14
Joined: 2016-06-26, 07:45 UTC

How to clear archive bit in zipped files..?

Post by *blazerman »

Have been trying to creat a zip file using TC internal

The files when zipped shows archive bit set for all files, though the original source doesnot have any but set..
The original files are -r -h -s -a

Yet, when the zip file is created it set +a archive bit on all files

Is there any way, such that archive bit is not set on files when creating a zip files usinf TC internal

Awaiting inputs
Thanks
Rgds
User avatar
petermad
Power Member
Power Member
Posts: 16123
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Is there any way, such that archive bit is not set on files when creating a zip files usinf TC internal
Not With TC's internal zip function. But you can pack the files as a zip file using the Total7zip plugin. Add this to the [PackerPlugins] section (and restart TC):
7zip_zip=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx

(adjust paths if you have installed Total7zip elsewhere)

Now use 7zip_zip as the plugin extension. Then the archive bit will not be set when you pack the files.

But if you later copy (and overwrite) the files from the ordinary folder to the opened zip-file, then the archive bit will be set, because TC will use its internal zip-packer.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply