I have an application that, under XP, NT or 2000 updates an .iini file in the following folder. (Just an example)
C:\Program Files\Rays's folder\Settings\Ray.ini.
I run this application on a Vista Enterprise box
But when I look at C:\Program Files\Rays's folder\Settings\Ray.ini, the changes that the aplication made to the Ray.ini file are not there.
Rather, I find a file named Ray.ini in the "C:\Users\RKode\AppData\Romaning, folder.
And the changes that the application made are in THIS copy of the file.
And when I run the application a second time, it actually reads the Ray.ini file from the C:\Users\RKode\AppData\Roaming folder.
I didn't expect this behavior.
I didn't expect this behavior at all.
What kind of Microsoft trickery and wizardry is at play here ?
Is there any way for my changes to be written back to the C:\Program Files\Rays's folder\Settings\Ray.ini version of the file as I have a routine that backs up the Ray.ini file from the C:\Program Files\Rays's folder\Settings folder.
Any help, insight or explaniation would be greatly appreciated.
Thanks in advance for all responses.
Ray in Wisconsin