Posted October 07, 2013
The echo statements contain a few unintended characters (due to GOG forum settings the repeated ÍÍÍÍÍÍ after a time break up, but you can see the original code in a reply), but other than that the code matches my own.
haydenaurion: You sure you got that right? The selection screen comes up, but when I select one it just closes DOSbox and nothing happens. I've attached a pic of a copy of those commands you posted so you can check and see if something is wrong.
What I'm guessing is the problem is that my folder structure may not be the same as GOG's folder structure. I have a tendency to make GOG's DOSBox games into portable applications, so I separate the game files from DOSBox and run them via my own batch file that references the relative path to the DOSBox executable. If this is the case then when you run my autoexec script it won't find the files and will error, therefore hitting the exit lines and quitting DOSBox.
To explain my folder structure, my .conf file mounts the C drive for the game as mount c ..\POP as the game files are all in the folder POP which is alongside the DOSBox folder. You'll likely have to modify the mount commands to the relevant paths for your GOG installation, but the rest of the code runs fine. I've attached some screenshots showing my folder structure.