Seriously, just stop (or use Linux)
@[email protected] @[email protected]

Wasn't there a lurking
edit.exe or edit.cmd somewhere inside C:\WINDOWS\system32? Would make an interesting replacement to the enshittified "Not-e-pad". But, then, I haven't used Windows since Windows 10 was still a novelty (and what definitely pushed me to Linux... Arch Linux btw), so maybe I'm very old ("I'm old, Dean, very old") to recall of a MS-DOS relic.

Wasn’t there a version of ed in DOS at one point? Or am I mis remembering?

That could still lurk somewhere in windows’ maze of directories somewhere…

A 64-bit version of edit seems to be in the works. You can cli install it for now, but MS is promising to include it eventually.

learn.microsoft.com/en-us/windows/edit/

Edit command line text editor

Learn how to use Edit, a command-line text editor, in Windows.