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

:( i can't make it work . . . i'm working on 1000 pdf files and i'm trying to copy it from afolder with 3000 pdf files . . . been trying a lot . . . need help please . . . thanks
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Enterprise x32
Moving files on the list.txt to different folder

Thanks for your post. Your script ZZZZ_script_V2 almost perfect for me. If you could modify the script for me for the following way that would be amazing.I would like to move the files which are listed on list.txt and not to copy them. The another think is there any way to remove the administration rights?
Thank you very much.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Qosmio
OS
Windows 7 Ultimate x64
Remove Admin Rights and Move instead of Copy

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.

Your script is really amazing. Thank you for sharing with us. I am not very good at scripting but I tried to modify your script by way off removing the Admin Rights and not to copy the files but move them temporarily. Without success. I have reading lots of posts but I cannot figure it out how to do it. If you could modify your script in this way it would be really amazing.

Thank your very much in advance for your time and help.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Qosmio
OS
Windows 7 Ultimate x64
i try this but some not wrk cmd FILE NOT FOUND:sarc::sarc: , what is the problem. How to fix - rply_[REMOVED]
 

Attachments

  • Capture.JPG
    Capture.JPG
    73 KB · Views: 1
Last edited by a moderator:

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
windows 8.1 pro
Hi guys, I am also getting file cannot be found. doing exactly the same as mentioned. I can see some other also having same issue. Can you please let me know if your are able to fix the issue or have any solution.

Thanks in advance.
 

My Computer My Computer

Computer type
PC/Desktop
OS
windows 64 bit
dear Neutron
great simple script many thanks!
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
build
OS
Windows 7 Professional x64
CPU
i7-4790k
Motherboard
Asus z97 Pro Gamer
Memory
Corsair 4 x4gb ddr3 cl9
Graphics Card(s)
Gainward Phantom GTX 970
Hard Drives
1 TB wd black
1 TB WD Blue
250gb Samsung evo 750
The script works fine, there is a problem when there are cyrillic symbols in the file names.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Professional
Thank you

Hey man, that script did work as described. does the job.

:)
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
dell
OS
windows 7
CPU
intel
Motherboard
intel
Memory
16
Graphics Card(s)
no
Hard Drives
250
Antivirus
no
What am I doing wrong?

I see a lot of people got this to work, and I see a few having the same issue as I am.
Not copying and "nonexistent pipe" thing.
I even deleted the special characters and only tried to search for one file (obviously a test run).
 

Attachments

  • Capture.JPG
    Capture.JPG
    75.7 KB · Views: 2

My Computer My Computer

Computer type
PC/Desktop
OS
Oklahoma
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.

Neutron16 amazing job!
I was just wondering if it was possible to make the script copy folders with all their content, instead of just individual files?
 

My Computer My Computer

Computer type
PC/Desktop
OS
windows 10 64bit
Man! You save my life with this.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 10
I found out whats the problem

Need to copy the folder into the C:/ root directory. I don't know why but the program working only if it's not in a sub folder.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 10
Hi everyone, for all those who struggled to get it working. I did too.
Don't make any of the below mistakes as i finally got it to work.
1. Save your file as text file and when you name it - do not name it list.txt because the file is already a txt file and it will add the .txt automatically. So name your file simply 'list'.
2. I placed my folder with my files in C drive.
3. Make sure your file name in the list file have the correct title e.g. even if the file name is 12345, if it is a jpg file, it's name really is 12345.jpg - get this part right!
4. Create a folder and name it your_file and place it in C drive.
5. Finally - Neutron 16 had two attachments, only one worked for me, so try both!
Thanks Neutron16 :)
 
Last edited:

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium x64
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 Neutron16,
This bat file useful for me, i followed all steps, but files not found in folder, folder created in C:,
Kindly help, attached screenshot
Thanks in Advance
 

Attachments

  • 12.png
    12.png
    20.5 KB · Views: 59

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7
Fantastic Thank you but...

This file has been a god send, thank you OP.
but does anyone have a clue as to how to dial in parameters to narrow the search field, for example...

i have duplicate .jpg files of the same name but one set are low resolution, the other set are high resolution. Is there a way to only have it find files between a certain size? between 100Kb and 7MB, so it excludes any less than 100Kb

Thank you
 

My Computer My Computer

Computer type
PC/Desktop
OS
Win 10 64Bit
Thanks Neutron16, you saved my life
 

My Computer My Computer

Computer type
Laptop
OS
Windows 7 Ultimate x64
Back
Top