Hi,
I have run into a problem all of a sudden. I wish to copy files and directories and I am not able to do that anymore.
I use Copy File() and Copy Directory().
Somehow Copy Directory() doesn't recognize my paths anymore or occasionally fails.
So, I would like to know:
1. How to copy a directory (say D:/copyme) inside another directory (D:/destination) ? So that I have D:/destination/copyme as the final result.
2. How can I copy the contents of a directory (say D:/copyme) inside another directory (D:/destination)?
Everything was working fine but it stopped working and I couldn't copy reliably anymore. I thought the path is longer for windows to handle that's why it doesn't work but it turns out the path is less than 260 characters for each file. The path contains spaces and hyphens beside numbers and letters.
Thanks a lot for your inputs!