Design a site like this with WordPress.com
Get started

How to edit Environment Variables on Windows.

aerial shot of blue water
  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

One thought on “How to edit Environment Variables on Windows.”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: