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

Small update in your readme.md #89

Closed
cavo789 opened this issue Jan 24, 2022 · 1 comment
Closed

Small update in your readme.md #89

cavo789 opened this issue Jan 24, 2022 · 1 comment

Comments

@cavo789
Copy link

cavo789 commented Jan 24, 2022

Hello

I've used your script a lot with Windows 10 and now, I've migrated to W11 and I see that $env:USERPROFILE isn't recognized anymore by the console. The command wsl --import wsl-vpnkit $env:USERPROFILE\wsl-vpnkit wsl-vpnkit.tar.gz --version 2 isn't working under W11 and should be replaced by wsl --import wsl-vpnkit %USERPROFILE%\wsl-vpnkit wsl-vpnkit.tar.gz --version 2.

Thanks for wsl-vpnkit!

@cavo789
Copy link
Author

cavo789 commented Jan 24, 2022

Errata...

$env:USERPROFILE is working under Powershell but didn't work in DOS

%USERPROFILE% works under DOS but now under Powershell.

Your syntax is thus correct... only if we're running it in Powershell as you've correctly specified it. My fault thus, I was under DOS.

@cavo789 cavo789 closed this as completed Jan 24, 2022
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