-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
winget export with relative paths does not work #1922
Comments
|
That works for me too thx! It should also work with "~" right? |
It's |
Ok sorry then for the noob question... I tried "cd ~/desktop" in powershell and it worked... So I thought it should also work for this tool... |
I converted this "bug" into a "Feature". We may be able to make this work. I'm all about not having to "fight" muscle memory. We will have to take a look and consider any implications with how this might create problems elsewhere, but it might help reduce friction. |
Ah, I thought you were running it in Command Prompt. |
[Policy] Command-Export |
Brief description of your issue
"winget export -o ~/desktop/installedpackages.json" does not create a file while
"winget export -o C:\Users$InsertUsernameHere\Desktop\installedpackages.json" does work
It would be nice if that would be fixed to make scripts easier
Thanks
Steps to reproduce
winget export -o ~/desktop/installedpackages.json
Expected behavior
Creates export file in relative path sucessfully
Actual behavior
the process runs as normal but creates no export file
Environment
The text was updated successfully, but these errors were encountered: