Tools->options->Maintenance->Store folder->change to where ever you want
Then when you reinstall windows, do this again, expcept point it to the the same place and it'll find it and store messages there. Also, this is a nice feature for me since this will make it store everything from then on in that location so you dont have to worry about loosing it in a reformat.