Extracting RAR archive into multiple directories on Windows
Posted
by user368565
on Stack Overflow
See other posts from Stack Overflow
or by user368565
Published on 2010-06-16T18:49:45Z
Indexed on
2010/06/16
18:52 UTC
Read the original article
Hit count: 216
Hello,
On a Windows box, I need to extract a RAR archive so that individual files in it go into specific directories. I can provide, say, a text file that lists each file and the target directory for it. Then I need help creating a batch file that will actually extract these files into their target locations. Please help.
E.g. RAR archive x.rar contains a.a b.b c.c
Text file x.txt says a.a C:\foo b.b C:\bar c.c C:\foo
Result of running batch file on x.rar and x.txt should be: in C:\foo we have a.a and c.c in C:\bar we have b.b
Thanks!
© Stack Overflow or respective owner