Jump to content

Recommended Posts

Posted

Maybe someone around here can help me, this is driving me crazy.

I have a text file as follows

test.txt
blahblahblah >< ewrfewtr (minutes "0")
blahblahblah >< ewrfewtr (minutes "5")
blahblahblah >< ewrfewtr (minutes "00")

I need to find all lines with (minutes "0") or (minutes "00"). So, I need to use the find command to search for the string minutes "0 and the double-quote is driving me crazy.

The following doesnt work in a cmd file:

find "minutes "0" "test.txt"
find "minutes /"0" "test.txt"
find "minutes ^"0" "test.txt"
find "minutes %"0" "test.txt"
find "minutes %%"0" "test.txt"

Notice how I try to "escape" the quote in the string. Nothing I've tried seems to work. Anyone have any ideas?


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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...