在 Windows 上解压缩时如何“保留内部目录结构”?

Ole*_*nev 4 windows zip archiving 7-zip

我特林建设boost,在指导我读过

When you extract the library from its zip file, you must preserve its internal directory structure (for example by using the -d option when extracting). If you didn't do that when extracting, then you'd better stop reading this, delete the files you just extracted, and try again!

问题是:如何解压缩zip文件并“保留内部目录结构”?我应该使用什么程序以及如何使用?我安装了 7zip 和 Total Commander,这些程序之一可以“保留内部目录结构”吗?

Sek*_*mty 6

右键单击 .zip 文件,选择7-zip> Extract files...,然后在以下对话框中选择文件提取的目标,确保full pathfolders structure下拉框中选择。

这样,您肯定会保留文件夹结构,无论如何,我认为即使使用简单的提取命令也是正常行为。

PS 请注意,我没有使用英文版的 7zip,所以命令可能与我输入的略有不同。