windows 10 command prompt automatically closes after opening
## Finally I got it SOLVED: ##
Run regedit
Go to HKLMSoftwareMicrosoftCommand Processor or HKEY_CURRENT_USERSoftwareMicrosoftCommand Processor or HKEY_LOCAL_MACHINESoftwareMicrosoftCommand Processor
For some reason there was AUTORUN key with "EXIT" inside.
Remove the AutoRun key and everything should went back to normal.
CMD.exe should start to work again.
##
SOURCE: https://stackoverflow.com/questions/5373137/cmd-exe-closes-immediately-after-calling-win7-64