How to Use Windows CMD Environment Variables
It is easy to add or modify an environment variable with Command Prompt (CMD), but removing one is much more complicated. Here are a few different ways you can do it. First, you need to launch Command Prompt, or CMD, as an administrator. Click Start, type "cmd" into the search box, and then click "Run