|I'll be happy to let you know that i know how to do this.|
I created a Text file database, which adds, views and deletes records in that text file to whatever you search..
Firstly, you create a search, which will search the text file for whatever you typed. Then it displays that record (line)
Then you have the choice to confirm the delete.
Heres how my code goes.
echo DELETE RECORD
set /p find=Search:
echo Search Begun...
FIND "%find%" Database.txt
IF ERRORLEVEL 1 Goto BAD
echo Record Found, do you want to delete this record? Y/N
set /p YN=Y/N ? :
IF %YN% == Y goto YES
IF %YN% == N goto NO
IF ERRORLEVEL 1 goto BAD2
msg * Error
msg * ERROR
Please rename Database.txt to YOUR text file..(e.g. abc.txt in your case)
Also, the Text file MUST be in the same directory as your batch file.
Remeber also to add a menu to your batch file, for example, pressing 1 will go to Add record. 2 will go to delete. or whatever....
You will need to change this code slightly so it works for you, don't copy & paste this code & leave it, it wont work lol.
Hope this has helped.