This is easily done at the command line. And its semantics are are to refer to cwd of active window.
Fixes #6724