Is there any way to define a path relative to home in windows ?
Like it's done here for linux
The answers given in the linked question should work.
The documentation of the comments (for example in
or equivalent on your system) say
.... ~ expands to %USERPROFILE% on Windows, $HOME otherwise.