-->

How to show extraction progress of 7zip inside cmd

2019-07-11 09:44发布

问题:

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.