Batch rename directories (delete suffix) in Windows 10

I have been trying to understand Windows batch scripts but the syntax is so very different to modern programming languages that I simply cannot get what I want to do to work. I’ve also tried googling this and checked SO/SU to no avail.

I have a large number of folders in another folder (“C:UsersmeDesktopDelete”) that are the contents of downloaded web pages. The format is:


What I’d like to do in a batch file (note: standard CMD .bat file – not PowerShell) is to iterate over all folders, rename them by simply removing the “_files” suffix, then deleting the associated .html file. I am sure an expert can probably do this in one line – can anyone help?