Computing.Net > Forums > Programming > Batch file to import filenames and search

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 import filenames and search

Reply to Message Icon

Name: mahshiara
Date: July 29, 2009 at 12:20:24 Pacific
OS: Windows XP
Subcategory: Batch
Comment:

I want to write a batch file to do a few things.. unfortunately I've never done this before, and some of the code I've managed to find online has been very confusing to me.

Here's what I want to do:
1. Give the batch file a directory
2. Batch file will select each file name from that directory
3. With each name, it will search in a second (specified) directory
4. In that second directory it will check if that filename is mentioned *inside* any of those files.
5 Print the results of the search into a text file, including the file name from the first folder, and whether or not that file name was found in the files in the second folder. And if so, in what files.

Is this even possible?



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 import filenames and search

Batch file to find ip and host name, and save www.computing.net/answers/programming/batch-file-to-find-ip-and-host-name-and-save/19455.html

Batch File To search file extension www.computing.net/answers/programming/batch-file-to-search-file-extension/18286.html

Batch File to open and move .ttf fi www.computing.net/answers/programming/batch-file-to-open-and-move-ttf-fi/12043.html