Design a site like this with WordPress.com
Get started

How to edit Environment Variables on Windows.

  1. Go to search option and type “env” and select edit environment variables for your account

2. Click on new button and add variable name and path

3. Save your variable and it will appear in variables

4. You can add it in path of variable so command prompt will detect command and execute respective file present on that path

a) Select path variable and click on edit button.

b) Click on New button to add path

you can append path using other variable e,g.%JAVA_HOME%/bin

or you can give complete path

e.g. C:\Users\admin\AppData\Local\Programs\Python\Python38-32\

Testing path

open command prompt

type echo %variablename%

you can not see variables are printed and you can execute java and python command easily

Advertisement