Windows 10: Multiple PATH environment variables

Discus and support Multiple PATH environment variables in Windows 10 Ask Insider to solve the problem; [ATTACH] There's a package that I want to install and it says in order to install it, it needs to be added to the PATH. Upon checking my environment... Discussion in 'Windows 10 Ask Insider' started by /u/BinnyBit, Jun 29, 2020.

  1. Multiple PATH environment variables


    Multiple PATH environment variables y8zkhSEevyUD6aLQ02FryJ4gNk2ZpKiz4ZZWF_yiDHM.jpg

    There's a package that I want to install and it says in order to install it, it needs to be added to the PATH. Upon checking my environment variables, I noticed there are three of them as shown:

    https://preview.redd.it/xprgvditzx7...bp&s=657a8f7a4877da58c8255cd1bd20134fdd91b48e

    I'm not sure if this is an issue. If it's not an issue I'm not sure which PATH to use. If this is an issue, how can I resolve this so there is only one PATH.

    As can be seen the last one is the result of downloading Python directly from that website.

    submitted by /u/BinnyBit
    [link] [comments]

    :)
     
    /u/BinnyBit, Jun 29, 2020
    #1
  2. MCK
    mck Win User

    System environment variable won't stick

    Running Win10 Home on an Acer Spin 3, 64bit, i7cpu. I try to add a path to the system environment variables by:

    1. Control Panel > System > Advanced system settings > Advanced tab > Environment variables

    2. The "Environment Variables" window opens.
    3. In the "System Variables" pane I select "Path" and click the EDIT button.
    4. A list of the current system paths is displayed.
    5. I click the NEW button, browse to the path I want to add which is "C:\Python36-32" and click OK. The path "C:\Python36-32" is added to the list of current system paths.
    6. I click OK and am returned to the "Environment Variables" window.
    7. I click the "X" at the top right to close the "Environment Variables" window.

    Now if I click the "Environment Variables" button again (end of step-1) and repeat steps 2-4, the new path I added in step-5 is gone. IOW, adding a new path won't stick.

    What am I doing wrong?
     
  3. Accidentally deleted the path of environment variables

    I accidentally deleted the path of system environment variables, instead of editing it and adding a new one, in my Windows 10 Dell Laptop. I lost all the default variables that were there. How do I restore the previous variables? Please help
     
    AishwaryaC, Jun 29, 2020
    #3
  4. perdrix52 Win User

    Multiple PATH environment variables

    Cannot edit long Path Environment variable

    I was having a problem with Apple's SyncServer.exe (part of iTunes). It was choking on the length of my system PATH environment variable (2388 bytes), so I temporarily hacked it below 2047 bytes, and it worked OK.

    BUT I couldn't use Control panel/System/Advanced Systems Settings to restore it to what it was previously as that complained that the variable was too long.

    To quote MSDN: The maximum size of a user-defined environment variable is 32,767 characters. (omitted) Starting with Windows Vista and Windows Server 2008, there is no technical limitation on the size of the environment block.

    Luckily I was able to restore my PATH by using regedit to change the variable Path stored at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment which doesn't appear to suffer from the problem of the control panel.

    Is there any chance this will be fixed (**** ****).

    Dave
     
    perdrix52, Jun 29, 2020
    #4
Thema:

Multiple PATH environment variables

Loading...
  1. Multiple PATH environment variables - Similar Threads - Multiple PATH environment

  2. Path from command prompt is different from Path in Environment Variables

    in Windows 10 Gaming
    Path from command prompt is different from Path in Environment Variables: In Command Prompt, path command generates the following I add new-line to make more readable:ATH=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files\Java\jdk1.8.0_192;C:\Python38\Scripts\;C:\Python38\;C:\Program Files x86\Microsoft...
  3. environment variables

    in Windows 10 Software and Apps
    environment variables: Cant get the modal window when editing my system variables from the environment variables areai get this windowand i want this window https://answers.microsoft.com/en-us/windows/forum/all/environment-variables/07d24fc8-345d-4062-8169-3fa9bb16a049
  4. environment variables

    in Windows 10 Customization
    environment variables: Hi, another question from a noob. I see in my PC environment variables at the bottom of the list a sole entry called ZES_ENABLE SYSMAN 1 .I am a sole PC home windows 10 user who only really games a lot. Should this be here, i can only find entries for this in the...
  5. set path in windows 10 for environment variables

    in Windows 10 Customization
    set path in windows 10 for environment variables: Set path in windows 10 https://answers.microsoft.com/en-us/windows/forum/all/set-path-in-windows-10-for-environment-variables/b608e15a-4994-4d1a-ae4e-1d220293dc22
  6. regarding path variable of user variable of environment variable

    in Windows 10 Customization
    regarding path variable of user variable of environment variable: please help me fast, I accidentally deleted path variable of user variable ..... I want to restore it. the real situation is I cannot run android studio project and it shows error - " unable to start daemon process............This problem might be caused by incorrect...
  7. environment variable

    in Windows 10 Customization
    environment variable: What would happen when we deleted all the environment variable system directory. https://answers.microsoft.com/en-us/windows/forum/all/environment-variable/723a4cb6-5baf-4907-a56b-614f35d77da5
  8. Setting path variable in Environment variables Windows 10

    in Windows 10 Customization
    Setting path variable in Environment variables Windows 10: How can I stack up multiple path variables? Currently, it overwrites the old one when I try to edit. (I believe mindless updates are bad and updates should only happen when it is reasonably certain they will improve usability, and not just so that some people have a job.)...
  9. Automated modification of PATH environment variables

    in Windows 10 Performance & Maintenance
    Automated modification of PATH environment variables: The following archive contains scripts to safely edit the "Path" values in HKCU and HKLM. Useful to run after a new installation. path.7z New path inclusions are specified in "path.txt". Run "path.bat" to commit any changes. 103736
  10. Reset Java Environment Variable Path

    in Windows 10 Support
    Reset Java Environment Variable Path: I had to restore my PC to factory settings because of a virus (maybe overkill, not sure) and reinstalled the Java JDK and editing the Environment Variable for Path. First try gave me this: [img] Second try gave me this (I can't remember how): [img] I'm trying...