I have a file listing all the directories on a hard drive. I want to delete all the instances of a line with the word "Directory" followed by two blank lines. That is, I want to delete all three of those lines every time the sequence occurs.
I have already deleted all the lines with "<DIR> .", "<DIR> ..", and "0 Files" -- but there is still some leftover stuff.
The original task was to delete each 6-line sequence with the following pattern:
Directory of m:\Winter Interludes
12/20/2020 10:24 PM DIR .
12/20/2010 10:24 PM DIR ..
0 File(s) 0 bytes