Do not try to store any data in the Program location, or any folder below that! It worked in XP and below, but since Vista, you require admin privileges in order to modify anything under Program Files.
There are loads of places you can store program data, which are much more sensible (if only becaus ethey are more likely to be included on automated backups). See here:
Where should I store my data?[
^]