My winrar file contains about 106 files, I can't able to manual type all those file names into txt file.

Is there way to extract all those files names (I don't need file extensions) into txt file ?

Using windows 10.


You can use winrar from the command line to get the list of files. Open the command, move to the folder where the archive is located, then type:

C:\>"c:\program files\winrar\rar.exe" lb test.rar > myfile.txt

The l command list the archive's files:

l[t[a],b] List archive contents [technical[all], bare]

The output of the command will redirect the filenames onto myfile.txt.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.