Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a step for setting the PATH variable #271

Closed
nunix opened this issue Sep 19, 2018 — with docs.microsoft.com · 1 comment
Closed

Add a step for setting the PATH variable #271

nunix opened this issue Sep 19, 2018 — with docs.microsoft.com · 1 comment

Comments

Copy link
Contributor

nunix commented Sep 19, 2018

Small detail/feedback about an additional step under the section Extract and install a Linux distro:

  1. Add your distro path to the Windows environment PATH
    For example if the path is C:\Distros\Ubuntu:
[System.Environment]::SetEnvironmentVariable("PATH", $Env:Path + ";C:\Distros\Ubuntu\Ubuntu.exe", "Machine")

You can now enter into a session of your distro simply by typing ubuntu.exe for example


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Copy link
Contributor Author

nunix commented Sep 19, 2018

Typo correction, remove the ubuntu.exe from the path variable (sorry, too fast copy/paste):
[System.Environment]::SetEnvironmentVariable("PATH", $Env:Path + ";C:\Distros\Ubuntu", "Machine")

@nunix nunix closed this as completed Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant