Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disorganized Folders 1

Status
Not open for further replies.

jgilbert

MIS
Sep 16, 2005
55
US
This is kind of a silly question it seems, but a solution would be a huge headache saver. I've got a separate hard drive full of files. They have been horribly organized (actually, well-organized but I need them unorganized). Anyhow, there are thousands of folders and subfolders with thousands of files at different layers.

For example:

F:\FolderA\SubfolderA\--50 files
\SubfolderB\--10 files
\SubfolderB\subSubFolder1\--100 Files
\FolderB...

This is basically what the entire drive looks like. There are so many folders and subfolders and files at different layers like I mentioned above, but I need them to be all in the main folder (e.g. F:\--1000 files). I think there are about 4,500 total files on the drive. The only way I know how to to this is to open each folder or sub fold and copy the contents out to the main folder of the drive and then delete the subfolders. This is like a 4-5 hour process at least, given that there are over 1,000 folders and subfolders and about 4,500 files. Does anyone know a shortcut? It would be greatly appreciated.

Thanks,

Joe
 
Try Searching for *.* just on that drive. Search will list every file it finds with any file extension. From the Search window, select all the found files and move or copy them to a New Folder.

Have a look at this recent thread too.

Batch file to copy files ONLY out of sub folders
thread779-1198568
 
You know what linney, that is incredibly simple and perfect. I started reading your solution and I was like, well "duh". Anyhow, thanks for the help, that will work just fine. I don't know why I didn't think of that, but I'm glad YOU did.

Thanks again,

Joe

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top