I am having trouble with my windows and everytime i re-install/format everything i loose my games, servers, etc.. Is there a directory i can sve or something i should be doing so that dosen't happen?
By default everything minecraft related (other than the launcher itself, which is wherever you put it) is stored in %APPDATA%/.minecraft which is part of your user profile.
If you have done something that influences this (e.g. setting APPDATA to point somewhere else, setting a game directory in your launcher profiles), then the data is wherever you changed it to.
If you have done something that influences this (e.g. setting APPDATA to point somewhere else, setting a game directory in your launcher profiles), then the data is wherever you changed it to.