|12 Jul 2013||#1|
Copy a group of folders but only 1 subfolder
I have a large group of 3000 folders and in them, there are the seletion of subfolders as shown below.
I need to create a CD containing all Gas information so I was hoping to find a way of copying the folders so that the root folders, "Property 1", "Property 2" etc are still there but only contain the Gas subfolder.
The only way I know of is to copy the whole thing somewhere else and delete the subfolders I don't want but I don't have the hard drive space - the above list is a simplified version!
Many thanks in advance.
|My System Specs|
|12 Jul 2013||#3|
Are there files in the root directory, i.e. Property 1?
You can try xcopy, it may do what you need. Something like:
xcopy "\Property 1\Gas\*.*" "\targetdirectory" /e
Edit: You could also try robocopy with the /xd <Directory>[ ...] parameter.
/xd excludes directories that match the specified names and paths. That way you could do a full copy and exclude the sub-directories you don't want.
|My System Specs|
|Similar help and support threads for2: Copy a group of folders but only 1 subfolder|
|How to copy folders using wildcards||Backup and Restore|
|How to copy local Group Policy?||System Security|
|Outlook 2010, Some folders do not group emails into conversations||Microsoft Office|
|Pc getting slow when copy files at home group network.||Network & Sharing|
|Can only copy/move one group of files at a time?||General Discussion|
|Adding group to a folders permissions?||General Discussion|
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
All times are GMT -5. The time now is 16:02.