I'm trying to make a portable Ruby that launches an editor and a cmd.exe window along with it. The launcher works in that it starts Ruby, but I cannot seem to make the environmental variables for "Path" stick, and I end up with an open and unused window (if I hide the window, I have to kill Ruby using the Task Manager). I'm trying to overcome these problems before adding the additional parts.
I asked on the IRC channel and I was told that I had to use a batch file. I am not against trying to do this, but I see posts that say it is better to stick to the scripting system, which seems logical to me.
I'm new at this and not a programmer, so I'd prefer to be pointed in the right direction rather than be spoon-fed the answers.
My questions are:
1) Can I accomplish these things in the basic launcher.ini (RubyPortable.ini) or do I need custom script, and if so, where is the best source for how to do it?
2) Are batch files really a 'bad' way to accomplish this?
Thanks in advance for any help