I want to change the install path of winget (the package manager for windows) to D:\Program Files\{insert folder name}
. This is the command I was told to use on the documentation
winget install --id {insert program id} --location "D:\Program Files\{insert folder name}"
But instead it installs the file in D:\Program
So what I understood is it reads the location up to the space and creates the folder until there. To make sure I used a folder name without space and it installed correctly.
I posted this question on StackOverflow initially but it got flagged as computer hardware/software and told me to post it here, how does this come under that?