1.

Solve : Using if command with find?

Answer»
Finding whether a particular string is PRESENT in a text file can be done with the help of
FIND COMMAND.

How can we use the RESULT whether a string is found or not in an IF command and perform
some commands for each case i.e when the string is found and when it is not found .

Are there any VARIABLES that can be SET using the find command for its SUCCESS or failure results ?Immediately after thefind, test errorlevel, a value of 0 means found, 1 is not found

Graham


Discussion

No Comment Found