Go Back   Tech Support Forum > Microsoft Support > Windows 7 Support, Windows Vista Support

[SOLVED] Copy files from multiple sub-folders to 1 folder

This is a discussion on [SOLVED] Copy files from multiple sub-folders to 1 folder within the Windows 7 Support, Windows Vista Support forums, part of the Tech Support Forum category. Ok so I recently downloaded a giant ZIP file that contains all the material I'm going to need for my


Closed Thread
 
Thread Tools Search this Thread
Old 01-05-2011, 01:06 AM   #1
Registered Member
 
Join Date: Sep 2010
Posts: 3
OS: Windows 7



Ok so I recently downloaded a giant ZIP file that contains all the material I'm going to need for my college course. I come to find after unpacking the ZIP that each individual file is, for some reason, split up into subfolders. I was wondering if it's possible to compress/compile all the folders and their content into one single folder.

Thanks for the help

__________________
MohtasaUnique is offline  
Old 01-05-2011, 01:43 AM   #2
Team Manager, Microsoft Support
Microsoft MVP
BSOD Kernel Dump Expert
 
jcgriff2's Avatar

Microsoft Most Valuable Professional
 
Join Date: Sep 2007
Location: BSOD CENTRAL
Posts: 30,507
OS: Windows 8.1, 7 + Windbg :)



Hi -

Create the new destination folder (this example = k:\1folder).

This command copies all files found in c:\test to k:\1folder.

Bring up elevated cmd/DOS prompt -
START | type cmd.exe | RIGHT-click on cmd.exe above under "Programs" | select "Run as Administrator | Paste this command -
Code:

for /f "tokens=*" %a in ('dir /b /s /a-d "c:\test"') do @copy "%a" "k:\1folder"
Change origin and destination folder names.

Regards. . .

jcgriff2

`

jcgriff2 is offline  
Old 01-05-2011, 05:40 PM   #3
Registered Member
 
Join Date: Sep 2010
Posts: 3
OS: Windows 7



Thank you for the reply, my problems solved now though! I totally found an extremely simple solution: move all folders into one folder, and search within that one folder for all of the .mobi files. Since they were all .mobi, a search result showed them all, and I was able to select them all from there and put them into one folder.
__________________
MohtasaUnique is offline  
Old 01-06-2011, 01:02 AM   #4
Team Manager, Microsoft Support
Microsoft MVP
BSOD Kernel Dump Expert
 
jcgriff2's Avatar

Microsoft Most Valuable Professional
 
Join Date: Sep 2007
Location: BSOD CENTRAL
Posts: 30,507
OS: Windows 8.1, 7 + Windbg :)



Glad you got it sorted out.

Good Luck to you.

jcgriff2

`
jcgriff2 is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Post a Question


» Site Navigation
 > FAQ
  > 10.0.0.2


All times are GMT -7. The time now is 10:46 PM.


Copyright 2001 - 2014, Tech Support Forum

Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security - Top Web Hosts