On windows, I have associated my .cdb files with castledb executable such that when I double click them, it opens castledb.


But when I double click the files, castledb opens with the last file that I was editing instead of the file that I double clicked.