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 <Variable_Name> ""

System Environment

SETX <Variable_Name> "" -m

Exit the cmd prompt.

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