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: Finding numerous files in a folder using a batch

27 Jun 2013   #1

Finding numerous files in a folder using a batch

I need to create batch that will look in a folder that contains a 1000+ files and need it to highlight or do something so i can be able to distgunish which key words from the file actually exist in the folder, the files that exist are based on key words "the key words are numbers", each file in the folder contains these keywords and on each file name the key words are indexed at 0-3 from left to right, so its the first four characters. and i have them saved in a txt one per line

My System SpecsSystem Spec
27 Jun 2013   #2

Windows 7 32 bit

It sounds like a homework assignment. :)

I'm not sure I get the bit about the filename numbering. But if you need to search the contents of the files for words I would try some Windows version of Grep. There are free ones out there for download.
My System SpecsSystem Spec

 Finding numerous files in a folder using a batch

Thread Tools

Similar help and support threads
Thread Forum
Move files from original folder to existing folders - w batch file?
My files have a format of "ID_date_time.d7d Ex: 11111-5_2013_10_07_142149.d7d The ID is 1111-5 and was tested 10/7/2013 at 2:21:49 PM and the file extension is always .d7d The local files are automatically saved here by the program generating the data: C:\Local\Data I want them copied...
General Discussion
Custom batch file that copies font files to another folder?
I just downloaded all of the Google Web Fonts and they were each downloaded into their respected folders, so instead of clicking on folder after folder and right clicking after right clicking and finally installing each and every font; How can I create a command prompt (batch) file so the prompt...
General Discussion
Temp folder getting filled with batch files
Hello, My temporary folder has been have batch files created in it every 15 seconds or so. My mouse is the arrow with the busy circle at 2'oclock of it constantly, so something is running. I checked my processes and they seemed to all be normal. I updated everything including 4 so I...
General Discussion
Batch code to read, then move files from one folder to another
I'm new to batch coding, so I was hoping someone could help me out. I need to read several .txt files and search them for a specific string, lets say "key1" and "key2." If the file has key1, then it needs to be moved into directory1. If the file has key2, then it needs to be moved to directory2....
General Discussion
Batch file for moving files to folder?
Hello, Wanted to see if any one here wouldn't mind writing a batch file or script that would move multiple files to a target folder. Here are the specifics: HDD1 Contains Folders A,B,C,etc... Folder A contains Folder A1 which contains File A2 Folder B contains Folder B1 which contains File B2...
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:31.
Twitter Facebook Google+