Communities for your favorite technologies. Explore all Collectives
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I want to find a string in a file using dos.DOS:
e.g.For example
find "string" status.txt
And when it hasis found it, i wasI want to run a batch file (like an if-else statement). How can I do it?
Regards
ManjotWhat is the best way to do this?
I want to find a string in a file using dos.
e.g.
And when it has found it, i was to run a batch file (like an if-else statement). How can I do it?
Manjot
I want to find a string in a file using DOS:
For example
And when it is found, I want to run a batch file.
What is the best way to do this?