I need to copy a file/directory structure recursively but without copying file contents (creating 0-length files). Is there any way to do that without custom scripting?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
This should do exactly what you're asking: (edit: no it does not!)
xcopy <source dir> <destination dir> /T /E /O
Edit: This should be closer to what you're looking for:
robocopy <source dir> <destination dir> /E /CREATE
Robocopy should come with Windows 7. Let me know if I got it right this time. :)