假设要在 Windows PowerShell 里解压 lab00.zip
解决方法:
✅ 方法 1:使用 PowerShell 内置的 Expand-Archive
命令
PowerShell 里可以用 Expand-Archive
来解压 .zip
文件:
Expand-Archive -DestinationPath . -Force lab00.zip
如果 lab00
文件夹不存在,它会自动创建。
✅ 方法 2:使用 tar
命令(适用于 Windows 10 及以上)
Windows 10+ 自带了 tar
命令,可以这样解压:
tar -xf lab00.zip