I want to copy selected files in a sub directory from the source folder to a destination folder, at the same time, preserve the directory structure.
Source
- source_dir
- sub1
- file_1
- file_2
- sub2
- file 3
- sub1
Destination
- dest_dir
- sub1
- file1
- sub1
How do I issue one command to do that? I tried robocopy
robocopy c:\source_dir c:\dest_dir sub1\file_1 /s
robocopy complained that the file parameter (Parameter #3) is invalid.