Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试压缩以下目录结构:
C:/Test/1 C:/Test/2 C:/Test/3 C:/Test/3/1.txt C:/Test/3/2.txt C:/Test/4
我已经成功地执行了相同的操作。要求是我需要动态隔离文件夹并在 zip 中创建父文件夹。就像是 :
Test.zip TypeA/Test/1 TypeA/Test/2 TypeB/Test/3 TypeB/Test/3/1.txt TypeB/Test/3/2.txt TypeB/Test/4
有什么建议么?