-1

What is the cmd tool for zipping files with the new Windows 11 feature ? (The one used by default by explorer). I tried zip, 7zip, compress...

Thank you

Blaizz
  • 21
  • 1
  • 5

2 Answers2

6

The CMD tool for zip handling on newer Windows 10, thus I presume carried over to Win 11 is TAR, however it is not "The one used by default in explorer", since that system inbuilt feature has been there, since I think, at least XP"

see Tar --help

To list use Tar -tf file.zip

To extract use Tar -m -xf file.zip

To compress use Tar -a -cf new.zip files

Other options are available

K J
  • 8,045
  • 3
  • 14
  • 36
0

Your machine has PowerShell.

From cmd.exe:

powershell -NoLogo -NoProfile -Command Compress-Archive

From a PowerShell console:

Compress-Archive

For information use:

help Compress-Archive -Full
lit
  • 14,456
  • 10
  • 65
  • 119