the software im writeing i want it to install from a cd and be able to make the program run only while the cd is in the drive make it read a file or something from cd when it saves a record ,it can be a anything.dat file i know peoples cd's some are different letter mine is G:\ some are D:\ when i install from cd is there a way i can save the drive letter so i can put a file on the cd my program read every time l know this is not a fool proof soulution for protection but i would really like to know how to do this thank you for any help or insights