wslutils/utils/bin/explorer
2022-01-21 11:56:26 +01:00

7 lines
270 B
Bash

#!/bin/sh
/mnt/c/Windows/explorer.exe "$(wslpath -w "$@")"
# The Windows Explorer binary seems to always return 1, even though it
# succesully opens the desired folder. So, executing `true` here is just a
# hack so that we have a nice return code from our script.
true