Happen to have a command ready for listing the files in a premade archive?
Like say you download an archive from the internet and you need to see the files inside of it.
I looked at the help document and found these commands:
l[t,b] List contents of archive [technical]. Files are listed as with
the 'v' command with the exception of the file path. i.e. only
the file name is displayed. Optional technical information
(host OS, solid flag and old version flag) is displayed
when 't' modifier is used. Modifier 'b' forces RAR to output
only bare file names without any additional information.
And
v[t,b] Verbosely list the contents of archive [technical].
Files are listed using the format: full pathname, file comment,
original and compressed size, compression ratio, last update
date and time, attributes, CRC, compression method and minimum
RAR version required to extract. Optional technical information
(host OS, solid flag and old file version flag) is displayed
when 't' modifier is used. Modifier 'b' forces RAR to output
only bare file names without any additional information.
To list the contents of all archive volumes, use an asterisk
('*') in place of the archive file extension or use the '-v'
switch.
Example:
1) list contents of system.rar archive (technical mode)
and redirect output to file techlist.lst
rar vt system >techlist.lst
2) list contents of tutorial.rar archive (bare file names mode)
rar vb tutorial
I have been unsuccessful at getting them to work. I think they are suppose to output to a file, and then I just read them into my program, but its not working out. Maybe you have some idea's.
Thanks,
The Lone Programmer
"Is The Juice Worth The Squeeze"
-The Girl Next Door