![]() ![]() output.txt (sample output)Ĭontains the output, formatted as follows, searching search_string_here in my project_name Java project stored in D:\project_name\, displaying all files searched as well as results if there are some: "D:\project_name\.classpath" Prints out the name of each file, in quotes because some files will break the batch file code without, then finds the search string, search_string_here, and prints out the entire line that the search string is found in. TYPE "%1" | FINDSTR /i "search_string_here" > output.txt Searches all files recursively, and runs process.bat on each one. search.bat offįOR /r %%a IN (*.*) DO CALL process.bat %%a Here is my three file DOS solution, but I am still looking for a proper Windows 7 solution if anyone has one: 1. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |