Skip to content

resolve windows environment variables for paths #146

@goyalyashpal

Description

@goyalyashpal

will it make sense to resolve the windows environment variables (enclosed in %) for paths in the msys2 shell?

this will make the windows environment variables like %localappdata% and others to work.
these are supported in windows stuff like windows explorer, cmd (but surprisingly, not in powershell)

i was thinking of using like this:

$ cd %localappdata%
$ mv %userprofile%/some-file /d/my-dir

currently these variables are not resolved and error is shown: bash: cd: %localappdata%: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions