Well, first I installed Minecraft again. When I opened it, it created the .minecraft folder in AppData folder which is found on the server. After then I changed the directory through Edit Profile to go to a folder that is not the server. Then I stated the game and in the second folder it created the rest that was necessary to play the game. After that I installed Forge in the second folder, not on the server, but, when I started the game again, I didn't get the Forge profile. I even copied the folders in .minecraft to the second folder and installed forge again but nothing. Only when I install Forge on AppData do I get the Forge profile. The only thing I haven't tried is create the batch file from your link cause I have no idea how to do that nor what I have to write in it besides "Set appdata=d:\minecraft"