Convert a posix path to windows in git bash (terminal or script)?

Viewed 619

A few programs/libraries on windows demand windows only paths. So from a git bash terminal I had to do this:

$ export FOO="d:\\path\\to\\folder"

Is there an alternative to this?

1 Answers
Related