Windows 10: `where` command is broken and missing from environment variables

Discus and support `where` command is broken and missing from environment variables in Windows 10 Gaming to solve the problem; I tried to run `where` command in the command prompt, then I got this error:```C:\Users\galih>where 'where' is not recognized as an internal or... Discussion in 'Windows 10 Gaming' started by Galih Priambodo, Jun 8, 2024.

  1. `where` command is broken and missing from environment variables


    I tried to run `where` command in the command prompt, then I got this error:```C:\Users\galih>where 'where' is not recognized as an internal or external command, operable program or batch file.```What I know when this happens is the command is missing from the environment variables, so I added the directory `%SystemRoot%\system32` manually to the system `path`. After that, `where` is recognized, but it seems to be broken, because when I try to search for other files in the environment variables, it can't find them.```C:\Users\galih>where npm INFO: Could not find files for the given patte

    :)
     
    Galih Priambodo, Jun 8, 2024
    #1

  2. Searching environment variable in list

    I'm using a command that gives me a list of environment variables. When searching in the list, I want to find all environment variables with the word
    EXTERNAL; using the following command all that is occurring is all the environment variables are being listed instead of those environment variables with the word
    EXTERNAL ?

    findstr /c "EXTERNAL"
     
    StraightWorld, Jun 8, 2024
    #2
  3. 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?
     
  4. `where` command is broken and missing from environment variables

    Kapil Arya MVP, Jun 8, 2024
    #4
Thema:

`where` command is broken and missing from environment variables

Loading...
  1. `where` command is broken and missing from environment variables - Similar Threads - `where` command broken

  2. `where` command is broken and missing from environment variables

    in Windows 10 Software and Apps
    `where` command is broken and missing from environment variables: I tried to run `where` command in the command prompt, then I got this error:```C:\Users\galih>where 'where' is not recognized as an internal or external command, operable program or batch file.```What I know when this happens is the command is missing from the environment...
  3. 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...
  4. Path from command prompt is different from Path in Environment Variables

    in Windows 10 Software and Apps
    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...
  5. 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
  6. 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...
  7. Environment Variables

    in Windows 10 Customization
    Environment Variables: I am unable to add USER Variable in windows environment variable setting. Not asking for Path variables in system variables. Help will be appreciated. Thanks https://answers.microsoft.com/en-us/windows/forum/all/environment-variables/0d063cb8-ccde-465d-8b8b-d5c1ea880c78
  8. 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
  9. Environment Variables

    in Windows 10 BSOD Crashes and Debugging
    Environment Variables: what will happen if i accidentally delete one of those environment variables without realizing it ? and how to fix it ? https://answers.microsoft.com/en-us/windows/forum/all/environment-variables/fedbdf36-ce8e-4861-a775-1dc62dd1c67e
  10. environment variables missing

    in AntiVirus, Firewalls and System Security
    environment variables missing: i also got error message 80007000cb https://answers.microsoft.com/en-us/protect/forum/protect_defender-protect_updating-windows_10/environment-variables-missing/dad217b7-71e5-47d8-8569-4ab5e6380287