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
vika

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
Neutron16

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
jphotonica

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
Neutron16

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, 1346 views)
My System SpecsSystem Spec
27 Jun 2013   #5
rottengman

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
simpledude

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
tipsykid68

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
Neutron16

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, 620 views)
My System SpecsSystem Spec
17 Jun 2014   #9
unnu

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
vivek266

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
Thread Forum
select/search multiple files from a list, copy and paste to new folder
I have a list of 1000 files names (photo files) from clients and need to find them in one folder which has 10000+ files in it.And my clients files list do not have the full photo name (only a part of file name, eg: the file name in my local disk is "403817-QTX0022-30763812_Q10Photo.jpeg" and name...
General Discussion
copy/paste multiple files get really slow
Hi guys, Recently,I noticed a significant drop in speed when copy/paste more than one files,as in the chart below.Then I tried fastcopy,and it seems my hard drives work fine. So what is wrong with explorer.exe ? Thanks!
Performance & Maintenance
search multiple files, copy+paste to new folder (batch file software?)
I am a complete newbie when it comes to batch files and batch file software, so apologies in advance. I've done some research on Google etc but I seem to just be getting more and more confused trying to use various different scripts and programs and reading different info on various websites. ...
General Discussion
Windows 7 QuickEdit Mode doesnt select/copy/paste
I'm running cmd as Admin with UAC and QuickEdit Mode enabled, but when I try to select something it beeps repeatedly as I hold down the mouse button, then deselects when I let it up disallowing copy. Anyone else see this behavior or know of a solution? This is really quite annoying. Thanks
Software
Select, copy and paste text from windows
Hello everyone. Sorry if this has been already discussed but the search engine didn't show any match on the matter. At least I can't select text in a window to be copied and pasted elsewhere. If my memory serves me right, it was possible with XP. I know there are windows on which a right...
General Discussion
Copy and paste to folder
One of the things that is bothering me, is the difficulty I have when I copy a file from another folder, and then try to past that file into another folder that is full of other folders.. etc.. It can be quite difficult to find a place on the screen in explorer, that I can paste to, that will...
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 10:47.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App