Saturday, June 20, 2026
Haber Tusba
  • World
  • Business
  • Netflix
  • Gaming
  • Technology
  • Sports
  • More
    • Prime Video
    • Apple TV
    • Disney+
    • Google TV
    • HBO Max
    • Hulu
    • Paramount+
No Result
View All Result
Haber Tusba
Home Technology

How to Edit Environment Variables on Windows 10 or 11: A Complete Guide

by Ayaz Ahmet
August 31, 2023
in Technology
3 min read
0
Share on FacebookShare on Twitter

Related posts

The Decline of Twitter: Elon Musk’s Controversial Decisions Result in Massive Loss in Value

Unlocking FaceTime Reactions on iOS 17: Adding Fun and Entertainment to Your Video Calls




How to Edit Environment Variables on Windows 10 or 11

How to Edit Environment Variables on Windows 10 or 11

This article will discuss how to edit environment variables on Windows 10 or 11. Editing your PC’s environment variables can save you time in Command Prompt and make your scripts more concise. It also allows you to customize where Windows stores certain files. So, let’s find out how to edit them.

Understanding How Environment Variables Work

Environment variables are crucial in pointing to important directories or settings on your PC. For example, they can indicate the location of the Windows Temp folder or provide information about your PC, such as the version of Windows it is running or the number of processor cores it has available. These variables can be accessed by any program or script running on your computer. Additionally, environment variables can be defined for individual user accounts or system-wide.

The Significance of the Path Variable

Among various environment variables, the Path variable holds particular importance. It determines which folders are checked for executables when a command is run in a terminal or a script. To illustrate, let’s consider Notepad and Chrome. If you type “Notepad” into Command Prompt, it will launch immediately. However, if you type “Chrome,” you’ll encounter an error message. This error is because the Notepad executable is located in a folder specified in the Path variable, while the Chrome executable is not.

By default, the Path variable only points to a few Windows folders. However, you can easily add more folders to it.

How to Edit Environment Variables on Windows 10 or 11_

Important Warning

Before proceeding, it is crucial to note that changing environment variables can lead to your PC malfunctioning. Therefore, it is essential to double-check your actions if you plan to add, edit, or delete an environment variable.

How to Edit Environment Variables

Though there may be some minor differences in the user interfaces between Windows 10 and Windows 11, the process of editing environment variables remains largely the same.

To configure your environment variables, follow these steps:

1. Click the Start button on your Windows desktop.

2. Type “environment properties” into the search bar.

3. Hit Enter to proceed.

4. In the System Properties window, locate and click “Environment Variables.”

Once you are in the Environment Variables window, you can start editing them.

To change an environment variable:

1. Select the variable you want to change.

2. Click “Edit.”

3. Simply modify the value as desired.

4. Click “OK” to save the changes.

If you wish to add an environment variable, follow these steps:

1. Click “New.”

2. Specify the variable name and value.

3. Note that the variable value can encompass multiple values, separated by semicolons.

4. Once you’ve named your variable and assigned a value, click “OK” to save the changes.

Some environment variables, like the Path variable, have a slightly different appearance but function similarly. The Path variable is essentially a list; you can add, edit, or delete entries.

How to Edit Environment Variables on Windows 10 or 11_

To add another folder to the Path variable, follow these steps:

1. Click “New” in the Path section.

2. Specify the folder you want to add.

3. Click “OK” to save the changes.

Conclusion

Customizing your environment variables is highly recommended if you frequently use batch or PowerShell scripts or rely on non-Windows command-line applications. Despite the initial effort, you will save significant time in the long run. However, always remember the warning mentioned earlier about the potential for the PC to malfunction when editing environment variables.


Trending Now

  • Thumbnail-HaberTusba

    Blasphemous 2: Team17 and The Game Kitchen to Port the Game for PS4 and Xbox One, Launching on November 2

    0 shares
    Share 0 Tweet 0
  • Introducing Thunderbolts: A New Era of Justice and Espionage in the Marvel Universe

    0 shares
    Share 0 Tweet 0
  • Apex Legends Ignited Update: New Features, Conduit Legend, and Storm Point Upgrades

    0 shares
    Share 0 Tweet 0
  • Insomniac Games Confirms Marvel’s Wolverine and Spider-Man Games Share the Same World

    0 shares
    Share 0 Tweet 0
  • Most Popular Games in the US in September 2023: PlayStation, Xbox, and Steam Rankings

    0 shares
    Share 0 Tweet 0
Haber Tusba

We bring News from all around the World and everything you need to know from World, Entertainment, Tech, Sports & Gaming News.

Category

  • Apple TV
  • Business
  • Disney+
  • Entertainment
  • Featured
  • Gaming
  • Google TV
  • HBO Max
  • Hulu
  • Netflix
  • Paramount+
  • Prime Video
  • Sports
  • Technology
  • World

Recent News

  • Gaza Strip Faces Major Communication Blackout Amid Ongoing Israeli Offensive
  • The Decline of Twitter: Elon Musk’s Controversial Decisions Result in Massive Loss in Value
  • EU Debt Rules Standoff Puts Pressure on Italy’s Economy: Will a Deal Be Reached?
Facebook Twitter Instagram Reddit RSS
  • Contact Us
  • Privacy Policy

© 2022 HaberTusba - All Rights Reserved.

No Result
View All Result
  • World
  • Business
  • Netflix
  • Gaming
  • Technology
  • Sports
  • More
    • Prime Video
    • Apple TV
    • Disney+
    • Google TV
    • HBO Max
    • Hulu
    • Paramount+

© 2022 HaberTusba - All Rights Reserved.