Windows grep?
On 8/23/2016 at 0:57 AM, Mr_KoKa said:findstr (https://technet.microsoft.com/en-us/library/bb490907.aspx) looks like can do what you want, especially this:
maybe excluding "> results.out" part so the result will show up in console instead being written to file.
Sorry for the late reply.
This seems to be my last resort:
so, we have: findstr /g:finddata.txt /f:filelist.txt > results.out as the test.
Run>CMD(as admin).
My files: findstr /g:needtoget.txt /f:needtotest.txt this is correct, right?
Error message in CMD = Cannot read strings from needtoget.txt (both files are on my desktop).
Googled it, can't seem find a clear fix. Any help is appreciated.
This was because my .txt files, weren't in C:/Users/User (in my case).
THE ABOVE ERROR IS FIXED WITH IT'S SOLUTION.
New error message: "Find: Invalid Switch"
THE ABOVE ERROR IS FIXED. I entered it incorrectly on CMD lol.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now