Is it possible for a batch script to delete a single line in a txt file?
example:
my.txt contains the following:
ab
cd
is it possible to delete cd using batch?
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
also, what if i dont know what i want to delete.
example:
a random line.
i just need a batch file to delete the last or last 2 lines.