How to show extraction progress of 7zip inside cmd?

浪尽此生 提交于 2019-12-12 18:24:07

问题


7z.exe do not show any extraction progress in cmd."C:\Program Files\7-Zip\7zG.exe" -y x -pPASSWORD "D:\Myfile.rar" Extracts the file with a GUI progress-bar. But I don't want a GUI progress bar. I want to show the progress in terms of percentage inside cmd. i.e, I want to use 7z.exe instead of 7zG.exe with percentage progress shown.


回答1:


You can use -bsp1 switch to view the progress

'C:\Program Files\7-Zip\7z.exe'  a  -bsp1



回答2:


Take a look through this page - If it doesn't have any examples (and I couldn't find any), I'd say this can't be done using batch.



来源:https://stackoverflow.com/questions/21144140/how-to-show-extraction-progress-of-7zip-inside-cmd

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!