Answer the question
In order to leave comments, you need to log in
Why is the set command in windows 10 console not displaying environment variables?
Greetings! When typing and running the set command in the Windows10 command line, the environment variables are not displayed, although they should be, as far as I know. Instead, the console writes only the following:
Set-Variable cmdlet in the command pipeline at position 1
Specify values for the following parameters:
Name[0]:
And if you type set path , then nothing happens at all, as there was no command.
What's the matter here?
Answer the question
In order to leave comments, you need to log in
Because set is a command for the CMD shell.
And you are trying to enter it in the PowerShell console.
These are different things, they have different commands.
Go to PowerShell, type CMD, press inter, and you will get into the CMD shell,
then enter the SET command and it will display all the environment variables perfectly.
In general, do not confuse CMD and PowerShell
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question