问题
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