i have two sets of data, say a=file1 file2 file3 and b=location1 location2 location3.
Now i need to loop through and copy file1 to location1, file2 to location2 and file3 to location3.
If I use for loop, then after the first iteration of the the inner loop, it should go back to the outer loop, take the second value, go to the inner loop and take the second value and so on. Basically, the inner loop should not iterate for every value in the outer loop.
Is there a way to do this?
Thanks in advance. Sudhir