【发布时间】:2021-12-28 19:10:21
【问题描述】:
使用新的 Windows 11 功能压缩文件的 cmd 工具是什么? (资源管理器默认使用的那个)。 我试过 zip、7zip、压缩...
谢谢
【问题讨论】:
标签: cmd zip windows-11
使用新的 Windows 11 功能压缩文件的 cmd 工具是什么? (资源管理器默认使用的那个)。 我试过 zip、7zip、压缩...
谢谢
【问题讨论】:
标签: cmd zip windows-11
你的机器有 PowerShell。
来自 cmd.exe:
powershell -NoLogo -NoProfile -Command Compress-Archive
从 PowerShell 控制台:
Compress-Archive
仅供参考:
help Compress-Archive -Full
【讨论】:
在较新的 Windows 10 上用于 zip 处理的 CMD 工具,因此我认为延续到 Win 11 的是 TAR,但它不是“资源管理器中默认使用的工具”,因为该系统内置功能已经存在,因为我想想,至少 XP”
见Tar --help
要列出使用Tar -tf file.zip
提取使用Tar -m -xf file.zip
要压缩使用Tar -a -cf new.zip files
其他选项可用
【讨论】: