It's a unity game, I'm not sure what you've installed to have a cmd window pop up but it's not from this.
Viewing post in Rick and Morty - A way back home comments
The only thing I can recommend to you is to check Unity's default save location which is in the registry at (Computer\HKEY_CURRENT_USER\Software\ferdafs\RickAndMorty) and try deleting that. Otherwise, this is the first time I've heard of a CMD window opening, so you might have another, more serious issue.