1
ENGLISH / Re: Media files - relative path
« on: June 23, 2024, 14:00:31 »
OK I have a possible idea ...
I think it might be because I have spaces in the home directory for the GEDCOM file ("C:/Family History")
I just created a new family tree / GEDCOM using C:/Temp as the base directory with sub-directories
C:/Temp/Media
C:/Temp/Media/NoSpace
C:/Temp/Media/With Space
When I add a media file into each of those sub-directories the paths are stored correctly as relative paths.
When I created a second new tree/GEDCOM using C:/Temp 2 as the base directory with sub-directories
C:/Temp 2/Media
C:/Temp 2/Media/NoSpace
C:/Temp 2/Media/With Space
and media files in the sub-directories the paths are stored as absolute paths.
The only difference between the two trees/GEDCOM locations is the space in the directory name / path of the home directory of the GEDCOM file ... "C:/Temp" vs "C:/Temp 2". Spaces in the sub-directory name seem to be OK but not in the root/home directory.
Chris
I think it might be because I have spaces in the home directory for the GEDCOM file ("C:/Family History")
I just created a new family tree / GEDCOM using C:/Temp as the base directory with sub-directories
C:/Temp/Media
C:/Temp/Media/NoSpace
C:/Temp/Media/With Space
When I add a media file into each of those sub-directories the paths are stored correctly as relative paths.
When I created a second new tree/GEDCOM using C:/Temp 2 as the base directory with sub-directories
C:/Temp 2/Media
C:/Temp 2/Media/NoSpace
C:/Temp 2/Media/With Space
and media files in the sub-directories the paths are stored as absolute paths.
The only difference between the two trees/GEDCOM locations is the space in the directory name / path of the home directory of the GEDCOM file ... "C:/Temp" vs "C:/Temp 2". Spaces in the sub-directory name seem to be OK but not in the root/home directory.
Chris