Click Tools > Options, then click History.
Select Store Conversations Locally, then type the path to where the conversations should be stored on your computer.
(Optional) Select Display History in Conversation Window if you want the history to display in the conversation window.
Specify the number of recent messages to be displayed.
Click OK to save your settings.