Save and Load directory

Hi, Im using Raspberry Pi 2 B with RetroPie 3.0 How can I change the save and load dir? I change it, but I dont know what is the variable of the rom kind (like snes, nes, megadrive, etc)

Thanks