Link to home
Start Free TrialLog in
Avatar of ReneGe
ReneGeFlag for Canada

asked on

Batch File: 7z.exe : NTFS and Audit Settings

Hi there,

By adding features to the command line, would it be possible to archive NTFS security and Audit settings as well.

"C:\Program Files\7-Zip\7z.exe" -p1234 a -r -mx=9 "Z:\Documents.zip" "C:\Documents\*.*"

If not please advise.

Thanks,
Rene
ASKER CERTIFIED SOLUTION
Avatar of BasiKobrA
BasiKobrA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ReneGe

ASKER

Well, thinking about it, the unziped file will inherit NTFS security and Auditing attributes of the folder receiving it.

Also, it will bet better that 7z does not keep NTFS security and Auditing attributes, because, what if they are changed along the way and I retreive a zipped file eith OLD attributes.... NOT GOOD...

Thanks BasiKobrA for contributing.

Cheers,
Rene