So a bit more digging and general paranoia later, I think it's XYplorer misreporting it rather than it actually being wrong.
So my most recent experiment: reboot, open a command prompt, type set and look to see if it's wrong. It isn't.
Start XYPlorer, open a command prompt, type set and look again. Still correct.
Then look at the environment variables list produced from XYPlorer's Help menu. There, it's wrong.
Double-check from a command prompt: still okay.
Now: I thought (but can't currently verify) that I'd checked from a command prompt at some point previously and found it wrong.
So I guess the question is: is XYPlorer reporting something correctly that's otherwise being masked, or is it getting it wrong and under some circumstance (possibly as a result of running something from XYPlorer) actually setting the variable? Or is it just getting it wrong for some reason and causing me to be unnecessarily paranoid?
(Windows 10 and Windows 7, 64-bit (obviously!) and XY 19.30
XYplorer Beta Club