开发者

get a list of files with winrar command line

开发者 https://www.devze.com 2022-12-10 11:52 出处:网络
I want to get a list of files and prefer开发者_运维技巧ably uncompressed file size via winrar command line. How do i do this? and how do i do this with a password? From the doc it looks like i use -pP

I want to get a list of files and prefer开发者_运维技巧ably uncompressed file size via winrar command line. How do i do this? and how do i do this with a password? From the doc it looks like i use -pPASSWORD


Winrar comes with Rar.exe command-line tool. You could use it in the following format:

Rar.exe l -pPASSWORD archive.rar


the commands l (lower L) and lb (LB) are available in rar.exe and unrar.exe (but not in Winrar.exe)

the command l lists a lot of other informations beside the filename (compression-rate, date, ...) if you just need the filenames then use lb instead of l:

unrar.exe lb -pPASSWORD archive.rar >files.txt
0

精彩评论

暂无评论...
验证码 换一张
取 消