When called, the program first displays a blank command prompt window, followed almost immediately by a blank Blender window. Two seconds later they both close.
I uninstalled Blender, using IOBit uninstaller, which searches for left-over data once a program’s uninstaller has run, and them reinstalled Blender.
This has made no difference, it still closes after two seconds.
Does anyone know what the cause of this might be?