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: select/search multiple files, copy and paste to a new folder

09 Dec 2011   #1

window 7 professional
 
 
select/search multiple files, copy and paste to a new folder

I have a list of 1000 files names. Need to find them in one folder which has 5000+ files in it. Any possible way to highlight those files from my list so I can copy paste to a new folder?


My System SpecsSystem Spec
.

09 Dec 2011   #2

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

That is an easy task for a batch file, if your list of 1000 files names can be saved in a txt file with every file name on separate line. Something like this:
Code:
Report_23.docx
Presentation45.ppt
Diagram_67.xls
Then save this list to txt file; rename it to list.txt and put in your folder of 5000 files.

Download and extract a script in attachment. Start that script "ZZZZ_script.bat" AS ADMINISTRATOR , in the same folder of 5000 files. It will open your list.txt file(which should be there already) and will start searching for files and making copies to C:\your_files folder, which is predefined in that script.
My System SpecsSystem Spec
15 May 2012   #3

Windows 7 Home Premium 64bit
 
 
Subdirectories

This is so awesome, thank you. Any way, however, to edit the script to search within the sub-directories in that folder for the contents in the list.txt?
My System SpecsSystem Spec
.


09 Jan 2013   #4

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

Quote   Quote: Originally Posted by jphotonica View Post
This is so awesome, thank you. Any way, however, to edit the script to search within the sub-directories in that folder for the contents in the list.txt?
A little bit late for reply, but here you are.
Version with the search in subfolders.


Attached Files
File Type: bat ZZZZ_script_V2.bat (813 Bytes, 464 views)
My System SpecsSystem Spec
27 Jun 2013   #5

64bit
 
 

I have a similar task, I need to create batch that will look in a folder that contains a 1000+ files and need it to highlight or do something so i can be able to distgunish which key words from the file actually exist in the folder, the files that exist are based on key words "the key words are numbers", each file in the folder contains these keywords and on each file name the key words are indexed at 0-3 from left to right, so its the first four characters. and i have them saved in a txt one per line
My System SpecsSystem Spec
14 Feb 2014   #6

Victoria
 
 

Thank you for such as awesome script
Neutron16. Would it be possible to please explain how would I make this script save the images which are missing in a txt.

Any help is greatly appreciated

Thanks
My System SpecsSystem Spec
28 Apr 2014   #7

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Neutron16 View Post
That is an easy task for a batch file, if your list of 1000 files names can be saved in a txt file with every file name on separate line. Something like this:
Code:
Report_23.docx
Presentation45.ppt
Diagram_67.xls
Then save this list to txt file; rename it to list.txt and put in your folder of 5000 files.

Download and extract a script in attachment. Start that script "ZZZZ_script.bat" AS ADMINISTRATOR , in the same folder of 5000 files. It will open your list.txt file(which should be there already) and will start searching for files and making copies to C:\your_files folder, which is predefined in that script.
How do I fnd the original ZZZZ_script.bat I only see version 2 with sub directories?? Please and thank you.
My System SpecsSystem Spec
30 Apr 2014   #8

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

rottengman, I would rather look for existing software that can do that.

simpledude, sorry, I didn't get your question. If your file is not in the "list.txt", script won't copy it to the folder.

tipsykid68, please see attachment


Attached Files
File Type: zip ZZZZ_script.zip (503 Bytes, 115 views)
My System SpecsSystem Spec
17 Jun 2014   #9

Windows XP
 
 

If I want to change destination folder from C:\ to D:\ or another ... How should I do?


Please Please
My System SpecsSystem Spec
18 Jun 2014   #10

Windows 7 Home
 
 

Thanks a lot this is what i was looking for and its working
My System SpecsSystem Spec
Reply

 select/search multiple files, copy and paste to a new folder




Thread Tools



Similar help and support threads for2: select/search multiple files, copy and paste to a new folder
Thread Forum
search multiple files, copy+paste to new folder (batch file software?) General Discussion
Solved Can't copy/paste USER folder Backup and Restore
'WindowsImageBackup' folder: can't copy & paste to external USB Backup and Restore
How to copy multiple .wma files in different folders to single folder? Music, Pictures & Video
Windows 7 QuickEdit Mode doesnt select/copy/paste Software
Select, copy and paste text from windows General Discussion
Copy and paste to folder General Discussion

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 01:29 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33