That seems to be getting stuck and only creates the results.txt with
"Enter the string to find:"
And when I close it I get the message
"The process tried to write to a nonexistent pipe."
Any ideas?
Search found 2 matches
- 12 Nov 2012 10:32
- Forum: DOS Batch Forum
- Topic: Need Help with for loop doing find in all subdirectories
- Replies: 3
- Views: 2409
- 11 Nov 2012 23:01
- Forum: DOS Batch Forum
- Topic: Need Help with for loop doing find in all subdirectories
- Replies: 3
- Views: 2409
Need Help with for loop doing find in all subdirectories
Here is the code which I am trying to have input a string and search the directory + all sub directories for the string and to print all of the occurrences to result.txt. However, "%var1" seems to be causing problems, as well as the fact that when I run the for command itself in the consol...