Board logo

標題: 7zip commands? [打印本頁]

作者: wongcc2006    時間: 2017-1-20 09:52     標題: 7zip commands?

any method (commandline) to add each folder to a new zip archive using command line?


before
[attach]1954900[/attach]


after
[attach]1954901[/attach]
作者: jj2a3    時間: 2017-1-20 11:45

本帖最後由 jj2a3 於 2017-1-20 11:48 編輯

for /D %%F in ("*") do "%programfiles%\7-zip\7z.exe" a -r -tzip "%%F" "%%F"
作者: wongcc2006    時間: 2017-1-20 17:41

for /D %%F in ("*") do "%programfiles%\7-zip\7z.exe" a -r -tzip "%%F" "%%F"
jj2a3 發表於 2017-1-20 11:45



    thanks~~





歡迎光臨 電腦領域 HKEPC Hardware (https://www.hkepc.com/forum/) Powered by Discuz! 7.2