Blighters just killed my wordpad.exe, too. I put it back but that was highly annoying.
#58 Wordpad has not been updated since 2012.
Many free programs that could replace it that are better.
Try the free LibreOffice Writer
https://www.libreoffice.org
https://www.libreoffice.org/discover/screenshots/
https://books.libreoffice.org/en/WG72/WG7201-IntroducingWriter.html
You can save the doc using the ‘ODF text document’ extension.
Google: what is a odf text document
Non proprietary format. Open source.
You can also save as a Word doc too. Or Rich text or PDF.
You can add Wordpad back to Windows 11 too.
You have to do a google search. Basically just copy the program files over from say Windows 10..