Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Copying Populated Folders Only

06 Nov 2011   #1

32 Home Premium
Copying Populated Folders Only

I want to copy a bunch of folders. Some are populated with subfolders, some are not. I cannot find a folder property that tells me whether the folder itself is populated without right clicking and going to properties and looking at the "Contains" property.

I want to be able to eyeball the folders that have subfolders and the ones that don't and then only copy the populated ones.

Is there a property that will tell me this?

P.S. I know I can then go to Folder Options and "Use checkboxes" to highlight the ones I want.


My System SpecsSystem Spec
06 Nov 2011   #2
Microsoft MVP

Windows 7 Ultimate X64 SP1

Welcome to Seven forums.
There is no built-in folder option to see in a folder without opening it. You can get an idea though by hovering your cursor on folder. If this is what you mean?
Copying Populated Folders Only-props.png
click to enlarge

My System SpecsSystem Spec
06 Nov 2011   #3

Windows 7 32 bit

According to the docs
xcopy /s only copies subdirectories that are not empty.
You'll have to try it to see how "empty" is defined. I believe it may copy if the directory contains another directory even if neither has any files. But you'd have to try and see.

at a command prompt enter

xcopy /?

to get all the switches. Also there are some Guis around to make using XCopy easier such as "the xcopy tool" xxcopy etc..
My System SpecsSystem Spec

06 Nov 2011   #4

32 Home Premium

I should have been clearer. I actually want to CUT the populated folders not COPY them. I want to leave behind the empty ones.

My System SpecsSystem Spec
07 Nov 2011   #5

Windows 10 Pro (x64)

> robocopy source_directory dest_directory /S /MOVE
My System SpecsSystem Spec

 Copying Populated Folders Only

Thread Tools

Similar help and support threads
Thread Forum
Robocopy not copying all folders
Hi, I want to use Robocopy to backup the data from my external hardrive D to a file called 'Backup' in a cluster storage W. I only want to backup the modified and new files. In other words, I don't want to back up all the files in D every time I run Robocopy. This is what I wrote by reading...
Backup and Restore
Copying Folders = Missing Content
I took a friend's hard drive out of their computer as Windows won't boot and wanted all their data saved. I plugged into my computer, saw the extra drive, and prepared to copy their "Documents and Settings" folder, which has all their subfolders and files. That folder has 18.3 gigs, 3.047...
General Discussion
Robocopy - Copying Folders With Spaces in The Title.
Hey guys, This may sound like a really silly question, but I'm just getting to grips with using Robocopy. How do you copy folders with spaces in the title? E.g: T:\Admin Tools I keep getting an error. Any help would be great thanks.
Backup and Restore
About copying XP folders to 7
We have a new Windows 7 computer. I have backed up files off a old XP computer and will copy the backed up files off an external disk. Will leaving the old thumbs.db and various .ini files in the folders I copy have an conflict on the new Windows computer? I don't think I ever had a problem...
Backup and Restore
Copying from external HD or network folders
Hi Everyone I am new here and new to Windows 7 which I installed on the weekend in order to run my media through the Win7 MC. I ran into a problem when I try to copy from external HD (USB external drives) or shared network folder. Every time I try to copy something, and it...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

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 03:48.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App