for cmd shims, resolve path because cmd can't interpret ~