iT邦幫忙

0

zip file 檢查問題

請教大家
如何使用程式或工具來檢查指定路徑下的7zip or zip檔案有沒有加密? 使用下列語法但執行沒有反應,感謝

for %%a in (.zip,.7z) do for /f "tokens=1,3" %%b in ('7z l -slt %%a') do if %%b==Encrypted
pause

To slime
是否可請教"如何列出那些檔案名稱呢?"
https://ithelp.ithome.com.tw/upload/images/20191112/20003705zTUJrubiQr.jpg

slime iT邦大師 1 級 ‧ 2019-11-08 14:20:12 檢舉
7z.exe l -slt *.zip | find "Encrypted = +" && echo 有加密
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答