Page 1 of 1

Meaning of .cub$

Posted: Fri Jan 13, 2012 6:56 pm
by PlanningDev
Can someone help fill me in a little more on why you sometimes get files with $ appended?

Can I safely delete these?

Re: Meaning of .cub$

Posted: Fri Jan 13, 2012 7:22 pm
by Alan Kirk
PlanningDev wrote:Can someone help fill me in a little more on why you sometimes get files with $ appended?

Can I safely delete these?
They're generated when you do a data save. The cube in memory is initially saved to the .cub$ file. If the save is successful then the .cub file is replaced by the .cub$ file and the latter is deleted. If the file is still there then either:
- You're currently doing a data save in which case deleting the file would be highly inadvisable; or
- It's left over from a past failed data save, in which case it can be deleted but you might want to archive it off instead for a while first. (In case it turns out that the save was complete but the rename process failed; this would be pretty rare.)