Hi,
I need to unrar one file from a lot of archives, but each of them to a separate directory. The second problem is that I dont want to unrar the file to its original directory structure.
Here is my problem:
I have a list of archives with structure such as
Archive20080131.rar
--> folders in archive FolderA, FolderB, FolderC
--> i need one file File.bak from FolderB
i need to unpack File.bak directly into a directory called Archive20080131 (ignoring the other subfolders in the archive)
The folder Archive20080131 is already created from a previous use.
My names of archives are created using current date, so the name does not increase by any constant number. And I have a new archive for every day, so now i'd need to unpack about 200 of them
I need to write the batch file to take the name of the archive into a variable and use it as the name of the destination folder (but it just doesnt work for me), can anyone help?