GMad won't create a .gma file

I am trying to create a .gma file and I am having trouble getting GMad to make it. I dragged the folder onto gmad.exe, and the only thing that happens is a cmd window opens then closes almost immediately after. I do not know what is it says. Can somebody help me please? I am using Windows 7.