PC Applications forum

General discussion

Bulk Find/Copy/Rename Files

by igator210 / March 14, 2012 10:57 PM PDT

Trying to find a utility that can scan a set of folders and subfolders for a certain file. If it finds this file it makes a copy in two places but also renames the file to the same name as the folder.

My folder / subfolder structure is:

1) Data Folder (master folder)
A) Daily Folder (unique, created daily)
i) Info Folder (unique, created daily)
a) Detail File (generic, created daily)
ii) Info Folder
a) Detail File
iii) Info Folder
a) Detail File
iv) etc
a) etc

I don't have any control over the naming of Info File (it is the data structure of the program). So, over the years, I have hundreds of generic Info Files

I would like a program the would scan all the folders / subfolders looking for these Detail File, making a copy and renaming the copy the same name as the Info Folder. In a perfect world, I'd also like a second copy of the renamed file placed in different master folder.

This is all for archiving and auditing purposes.


Post a reply
Discussion is locked
You are posting a reply to: Bulk Find/Copy/Rename Files
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Bulk Find/Copy/Rename Files
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
A typical case ...
by Kees_B Forum moderator / March 14, 2012 11:11 PM PDT

of having to use a VBSCRIPT that uses the filesystemobject. Should take less than a day for anybody with the right experience to make it for you.

Powershell might be an option also, but as I don't have any experience with that, I can't tell.


Collapse -
Easy job for XYplorer using scripting
by giant impact / May 24, 2012 5:19 PM PDT

XYplorer is a file manager that natively supports scripting. An experienced XYplorer scripter will write this in 15 minutes. You might post your task description in their scripts forum:


Popular Forums
Computer Help 49,613 discussions
Computer Newbies 10,349 discussions
Laptops 19,436 discussions
Security 30,426 discussions
TVs & Home Theaters 20,308 discussions
Windows 10 360 discussions
Phones 15,802 discussions
Windows 7 7,351 discussions
Networking & Wireless 14,641 discussions

CNET Holiday Gift Guide

Looking for great gifts under $100?

Trendy tech gifts don't require a hefty price tag. Choose from these CNET-recommended useful and high-quality gadgets.