It's beginning to sound as if you need to look at a good tutorial or book on batch file programming (although I think it is completely the wrong tool for what you are trying to do). Here is one example: http://mrcracker.com/books/Batch-Fi... . Other books and tutorials are available.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.