Extracting RAR archive into multiple directories on Windows
- by user368565
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!