Hi all,
How can i get specifc named folder (Many folders with same name in the subfolders) in a specified path (path has folder with subfolders).
I just want to copy all these folders in a different path.
Please help me.
Thanks
Darma
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Mar 15, 2012, 9:50 AM EDT
The following iterates through the folders and adds _1, _2 etc to their common name.
It's assumed that the new folder to which they're all to be copied is called destFolderPath:
VulpesRank #55 · 29.2K reputationPosted Mar 15, 2012, 2:42 AM EDT
// ...
darma tejaRank #3,199 · 449 reputationPosted Mar 15, 2012, 5:57 AM EDT
Thank you very much.
How can i copy all those files(note: all files has same name) a different folder.
Darma
darma tejaRank #3,199 · 449 reputationPosted Mar 19, 2012, 4:51 AM EDT
Thanks allot.
There is a problem in this:
For example i am searching for a folder name called sys.
Sys has some files and some folders called alpha and beta.
This code copys all the files in sys folder but not subfolders alpha and beta.
could you please help me.
thanks
darma
VulpesRank #55 · 29.2K reputationPosted Mar 19, 2012, 7:10 AM EDT