I want to copy multiple files from different folders which are inside my project directory to my output directory using post build command. Is there a way by using a post build command to copy all the files from these different folders to my bin\debug folder. I used xcopy with the switches /s. But it did not work
Folder1
File1
File2
Folder2
File3
File4
FOlder3
File5
File6
Output
..\bin\debg
File1
File2
File3
File4
File5
File6
Refer to this command to achieve your requirement:
Update:
Copy files to a single folder (simple code):