Windows 10 command prompt opens and closes

broken image

broken image
broken image
broken image

In this case, you can fix the issue by adding the environment variable via the System Properties screen. To fix the issue in this case, you’ll need to run a deep DISM repair procedure and make sure that you’re also using the component cleanup feature to resolve the problem.