views:

452

answers:

1

hi everyone i wanted to ask how do i copy some directory from one place to another (not file by file) in post build event (whats the comman line??). im using vs 2005 (c++ project) thanks, liran

+2  A: 

The commandline is simply a batch script that is executed upon completion of the build. Therefore, you can just use regular Windows shell commands, such as mkdir, copy, ... To copy whole directories recursively, use xcopy <src> <dest> /E.

Alexander Gessler