So I have made a little tool in GameMaker (windows-exe), which will batch-process things for another project.
Thing is, working_directory always contains the folder where the exe is or the folder in the user profile, where file writes will happen.
I have disabled the sandbox.
now i have a batch file, which will launch the tool and I want the tool to run in the windows current directory (where my batch file is, NOT where the exe of the game is).
Example:
// Batch file
cd c:\some_folder
start c:\tools\gml-utility\gml-utility.exe // this is my tool
now i want the tool to work in c:\some_folder and NOT in c:\tools\gml-utility
How can I do that?
According to the manual, I can not access commandline arguments sent to the exe aside of those noted in the manual, but those only set debug output and such things -- i want to send CUSTOM arguments or make the tool use the current directoy.
Any way to achieve this?