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

20 Jun 2014   #11
joostnl

64
 
 

Thanks for the script! Can you adjust it so, it will only search for 2 file extensions: .sldprt and .slddrw

I have a folder with 30000 drawings named (examples):
123.sldprt
123.slddrw
1234.sldprt
1234.slddrw

so it would help if i only put this in the text file:
123
1234

(I know this is an old post)


My System SpecsSystem Spec
.
12 Aug 2014   #12
abetsko

windows 7 64
 
 

is there any way to run this without administrator?
My System SpecsSystem Spec
17 Sep 2014   #13
thakshilag

Windows 7 Enterprise x64
 
 
Error with file doesn't exist

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.

Hi, When I try this it is being executed successfully but it says file not found. I'm trying to search few PDF files from a folder which has around 200K PDFs.
The error message is: "The process tried to write to a nonexistent pipe"
Please help!

Thanks!
My System SpecsSystem Spec
.

18 Dec 2014   #14
girishahb

64
 
 

Is there any other way to do it? i mean with out running any codes?
My System SpecsSystem Spec
08 Jan 2015   #15
anne2014

Windows 7 64 bit Ultimate
 
 

This isn't working for me. I followed all the instructions but I probably missed something. I right click and run as admin right?
My System SpecsSystem Spec
03 Feb 2015   #16
vaibhavi

64
 
 
Can i use this for copying jpg files.... tried a lot but was not worki

Can i use this for copying jpg files.... tried a lot, but was not working


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.
My System SpecsSystem Spec
20 Apr 2015   #17
alex85lexa

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.

This is a wonderful piece of aytomation, I need with a small modification , can you please help
I need to search a word alone in the file and need to match and copy
Eg :
File name:

AR_father_5433.xls
AR_mother_7746.xls
AR_sister_76475.xls

My list will contail like:

father
mother
sister



can you please modify the batch for me pleaseeeeeeeeeeeeeeeeee
My System SpecsSystem Spec
21 Apr 2015   #18
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

Hi Alex,

Is this batch file (attached) what you were after?

Define your list inside the batch file rather than having a separate .txt file hold your list of words.


Attached Files
File Type: bat th-201734.bat (685 Bytes, 103 views)
My System SpecsSystem Spec
13 Jun 2015   #19
dfur

windows 7
 
 

Brilliant , thanks Neutron16. I started with a list of 350 .MOV files that I needed to retrieve from amongst ~10000 video and image files spread over hundreds of sub-directories. The script took almost an hour to finish but it worked perfectly.
It has inspired me to put some time into learning some of these command line super powers.
My System SpecsSystem Spec
13 Jul 2015   #20
Joward

Windows 7 ultimate x64
 
 

Awesome and ive tried to modified the destination and excellent
My System SpecsSystem Spec
Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




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 13:15.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App