I'll try and make this as short as i can. I'm looking for a .bat file to rar up and password folders with files in them, but the problem is a little more tricky than i thought, each folder can have anything from 1 to 400 files in it, i have two .txt files, one with the desired number of.rar file names and one with the desired number of .rar passwords, so txt doc's look like this, first is filenames.txt
:
FAD01
FAD02
FAD03
and so on up to FAD110
and another .txt file
GAP01
GAP02
GAP03
GAP04
GAP05
and so on upto GAP50
the 1st password .txt file look like this
vF2RiQMof6HSWy8MSEIO
13qIsZ7e9RIzBwaQ3UO6
KfTMk9wPfPQKMNh4XzD8
and so on, 110 random passwords in total
2nd password .txt file like this
al9p4O2vkiqcFKfgpWh7
U0jkx05nQoTKPAAPEYiW
43bliny0TU2R4CKob62H
and so on, 50 random passwords in total
What I want to do is apply the 1st list of 50 file names in the .txt document to 50 sub folders sat within a main folder, and the 1st list of 50 passwords to be used for each of those .rar's created, so my end result would be > inside 1st main folder 50 rars each passworded differently, I also want the .rar files passwords to be encrypted so you cannot see the contents of the any .rar file unless you enter the password.
End result would look like this:
FAD01.rar > password = vF2RiQMof6HSWy8MSEIO
FAD02.rar > password = 13qIsZ7e9RIzBwaQ3UO6
FAD03.rar > password = KfTMk9wPfPQKMNh4XzD8
and so on up to FAD110.rar
I am willing to pay someone if they think they can do it, or if you just fancy the challenge and have a big heart then that's fine too :) and thank you for taking the time to read my question
Extra Info
I created file names & password lists to help with the process of generating the passworded rar files, but if you can do it without needing predefined password/file name lists then that would be less work to do, but i would need some sort of file name / password list creating by the .bat file so i know what .rar has what password.
the lists are easy to generate, so i was hoping the bat file could read the lists 1 line at a time and apply the file name & password to the folder to be rar'd up
Basically I'm looking for it to take a group of folders and rar them up individually in some form of alphabetical order and apply random passwords to the rar's (these passwords should be 20 characters long and contain numbers and upper/lower case letters), but i want the rar encrypting which is an option in winRAR which stops users seeing contents of the rar until a password is entered
50 to 300 folders each containing numerous files, folders need to be rar'd up and passworded with random encrypted passwords, i am currently doing them 1 at a time, very time consuming indeed