Retrieve the paths of the system and temp directories.