get a list of files with winrar command line

 ̄綄美尐妖づ 提交于 2019-12-07 00:12:31

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
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!