To clear (empty the contents but not delete the variable) a System or User Environment variable from the CMD prompt, use SETX.EXE. The syntax is:

User Environment

SETX ""

System Environment

SETX "" -m

Exit the cmd prompt.

When you check using Control Panel / System / Environment, you will see that the is cleared.