4

In PowerShell, I can type the following command cd env: and the pwd becomes: Env:\.

I was wondering where this environment variable is in Windows 11. I looked under Control Panel > Environment Variables, but this doesn't appear to be the same information.

Can I navigate to this directory using file explorer, control panel, or another type of utility?

1 Answer 1

4

The purpose of the Env virtual drive is to manage environment variables. For example if you type dir it will list all environment variable names and their values. It's only visible in PowerShell.

You can read more on devblogs.microsoft.com.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.