Forum Discussion

Theo_suarez's avatar
Theo_suarez
Copper Contributor
Jan 01, 2024
Solved

Can not run commands within command line, PowerShell or other terminals

Issue: when I run commands in any terminal (Powershell, command prompt, VSCode terminal, etc.) doesn't execute. What is supposed to happen: Run a command, for example, "help", and return the defaul...
  • Theo_suarez's avatar
    Theo_suarez
    Jan 08, 2024

    Harm_Veenstra I've Solved it, as it was missing the following Paths in "Paths" In system variables:

    %SystemRoot%\system32
    %SystemRoot%
    %SystemRoot%\System32\Wbem
    %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
    %SYSTEMROOT%\System32\OpenSSH\

     It did not contain the paths, so they could not execute the commands, thank you for suggesting that the issue could have arisen from environment variables

     

     Correct:
    Correct "path"

    Incorrect:
    Incorrect "path"

Resources