G
Guest
Hi,
I have seen many examples of moving a folder to a new location, but is there
a way to simply copy it instead?
For example, I want to copy the contents of folder C:\Testing\Stuff to
C:\Testing\Stuff\Backup. I have a program which reads files from the Testing
folder and so I don't want to move it, just make a copy. I realise I could
iterate through the files in Testing and move those, but I also have
subdirectories (with other subdirectories) which I would like to copy.
Copying the entire Testing folder would be the ideal way, but I could use
recursive techniques if I really have to.
Any ideas would be most welcome.
I have seen many examples of moving a folder to a new location, but is there
a way to simply copy it instead?
For example, I want to copy the contents of folder C:\Testing\Stuff to
C:\Testing\Stuff\Backup. I have a program which reads files from the Testing
folder and so I don't want to move it, just make a copy. I realise I could
iterate through the files in Testing and move those, but I also have
subdirectories (with other subdirectories) which I would like to copy.
Copying the entire Testing folder would be the ideal way, but I could use
recursive techniques if I really have to.
Any ideas would be most welcome.