Home > Appendices > Relative Folder Paths

Relative Folder Paths

GED-GEN creates web pages in the Destination Folder you specify on the Files tab. This folder is also used to determine relative folder paths for several other options. A relative folder path is a shorthand notation for another file or folder that is associated with a file in the destination folder.

GED-GEN uses relative folder paths when it generates hypertext links between web pages, and links to other files like images and Cascading Style Sheets. Relative paths allow you to copy your web page files to a different folder, as long as you maintain the same folder structure and hierarchy. This is especially true when you transfer your web page files to your website.

Suppose you want to specify a background image for your web pages on the Attributes tab. Your image file must reside in a folder relative to the destination folder. If your destination folder is:

C:\public_html\grp

and your background image file is:

C:\public_html\images\background.gif

you would specify the relative folder path:

..\images\background.gif

For the Internet browser to find your background image, it starts in the folder where the web page resides (i.e., the destination folder). The notation "..\" means move up one folder to "C:\public_html." From there move down to the "images\" folder, where "background.gif" resides.

The easiest way to specify a relative folder path is to click Browse next to the field. This brings up a dialog box where you can find and highlight a file or folder. When you click OK the relative folder path is automatically determined. Of course you must first specify a Destination Folder on the Files tab.

The options that use a relative folder path are:

On the Attributes tab:

On the Custom tab:

On the Features tab:

Note

If you later change the destination folder path, be sure to specify new relative paths for the above options as well.