Computing.Net > Forums > Programming > Batch file to find & replace files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch file to find & replace files

Reply to Message Icon

Name: t8mas
Date: February 20, 2009 at 01:25:36 Pacific
OS: Windows XP
Subcategory: Batch
Comment:

Hi Everyone,

I Would like to create a batch file. Could you help me? Here are the specifications:

1. I have certain number of files inside a folder1.
2.list all the filenames of those files inside folder1 on filelist1
3. I want to search a specific directory having the same file as i have with from the folder1 -path can be stored on a filelist2 to be used for change directory
4. change directory recursively and replace the existing files inside a specific directory of all the files from folder1 until all the files inside folder1 has been consumed.
5. if there is a point that the file cannot be seen on that specific directory, ask from the user the correct directory folder structure and the batch should create that same folder structure specified by the user then copy that new file from folder1 to the specified directory.

Thanks everyone in advance!



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch file to find & replace files

Find and Replace text in Batch File www.computing.net/answers/programming/find-and-replace-text-in-batch-file/12413.html

Replace text with batch file www.computing.net/answers/programming/replace-text-with-batch-file/17580.html

batch file coverting to VBS file www.computing.net/answers/programming/batch-file-coverting-to-vbs-file/15717.html