it sounds like it opens command prompt but I am not sure how to figure out what it is.
One "fix" appears to be take a screen shot when it appears (printscrn button) as it might be enough to identify whats happening. I know, this isn't much but I am not sure how you would figure out what is calling it to open & close so fast
can try this though it may not help
right click start button
choose command prompt (admin)
type SFC /scannow and press enter
once its completed, copy/paste this command into same window:
DISM /Online /Cleanup-Image /RestoreHealth and press enter
SFC fixes system files, DISM cleans image files, re run SFC if it failed to fix all files and restart PC
All these suggestions above are based on other...