Sorry if I did not make it clear. When on the hard disk the files are being opened from the hard disk and when the program is on the cd the files are being opened from the cd. All paths are relative apart from the 1 saying where the temp directory is. The directory structure is identical on the hard disk(well not the whole hard disk, but the relevant parts anyway) to the cd.
Regards,
Gerard