Continuation of the subject How did PortableApps implement relative paths? :
Contrary to what @emyoulation said, relative media path does not always work.
It seems using a linux style path for Media relative path in Gramps preferences, at least for Gramps PortableApp, is the way to store media path and make it compatible to drive letter change from PC to PC. e.g:
That Windows media style path : i:\gramps\grampsportable\data\Archive Documents
don’t work anymore if drive letter on another PC change from I: to D: or anything else than I:
But this linux style one: /gramps/grampsportable/data/Archive Documents
works fine with the PortableApp on any PC with any drive letter the USB stick is assigned to.
I’ve just seen @ennoborg answer to another post very similar to mine