I have text files with one source and two destination path..I’m sending those to one function
called Copy(source,destination)…. for one path it creates(destination).I want to send the other parameter(other destination path)…How can i achieve this?
I have text files with one source and two destination path..I’m sending those to
Share
You could create an overload of the function to take multiple destination paths, and all it does it iterate all the destination paths and call the original
Copyfunction:You can call this with:
or you could just call
Copy(source, dest)twice.