Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Implementing paths #6181
Type of Change
These new commands introduce better path resolution for common paths usually covered under environment variables ($env:temp, $env:AppData, $env:LocalAppdata, $env:ProgramData). They should find viable paths cross-platforms.
They also allow redirecting those paths at the user's convenience. For example when the default paths are unsuitable due to permissions reasons.
At the same time, they are a foundation to be able to easily create more, named paths utilizing the same tools.
The paths should work on all relevant OSes.