Copy a folder to a new location

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top