Get Percentage Output Using 7zip and RAR Commands in Windows 10
In this article, we will discuss how to get the percentage output when using 7zip and RAR commands in Windows 10. This can be useful when compressing or extracting large files, as it allows you to monitor the progress of the operation.
Using 7zip Command
7zip is a popular file archiving tool that can be used in Windows 10 through the command line. To get the percentage output when using 7zip, you can use the following command:
7z a -bd -bsp1 -p[password] [archive_name] [file_to_compress]In this command:
7z ais used to create a new archive-bdis used to disable the console window, which will prevent the command prompt from closing when the operation is complete-bsp1is used to show the percentage of the operation[password]is an optional parameter to set a password for the archive[archive_name]is the name of the new archive[file_to_compress]is the file that you want to compress
Using RAR Command
RAR is another popular file archiving tool that can be used in Windows 10 through the command line. To get the percentage output when using RAR, you can use the following command:
rar a -v[size] -p[password] [archive_name] [file_to_compress]In this command:
rar ais used to create a new archive-v[size]is used to set the volume size of the archive. This parameter can be used to show the percentage of the operation[password]is an optional parameter to set a password for the archive[archive_name]is the name of the new archive[file_to_compress]is the file that you want to compress
References
This article was written using information from the above references. The author has no affiliation with the 7zip or RAR software.
Please note that this article is provided for informational purposes only and should not be considered as professional or legal advice. The author and the website are not responsible for any errors or omissions, or for any damages resulting from the use of the information contained in this article.
If you have any questions or comments, please feel free to leave them below.