no, it does not matter if the application is in program files with or without (x86). you can only save data in the "user" folder for the current user or onto other drives (not recommended), so when calling file_open_write you have to give a path to the user folder. you probably need a windows API function to get the path of the user folder, sorry but I can't help you with that.