I have a text file comprising two columns, separated by a '/'.
The first column reads the source name and location of a file eg c:\test\test.txt
The second column reads that files intended destination eg E:\test\test.txt
The columns number about 100 items - the second column always aligns with the first (it is derived from the first).
I am trying to write a program that copies the file referred to in the first column to the destination referred to in the second.
I have got the file to read as a list array - but am stumped as how to read each line of the list, copying from the source to the destination.
Does anybody have any experience of this? I have come across 'split' but this does not seem to do what I want - or am I missing something?!