get a list of files with winrar command line

user34537 picture user34537 · Nov 6, 2009 · Viewed 13.3k times · Source

I want to get a list of files and preferably 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

Answer

Evgeny picture Evgeny · Nov 6, 2009

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

Rar.exe l -pPASSWORD archive.rar