[SOLVED] Run a batch file


Recommended Posts

Is there any way to run a .bat file using unigine script? I have an OpenGl simulator and now want to start that using unigine button.


Also how to check the status of cmd(written in .bat) i.e whether it is executed or not.


Thanks in advance.

Link to post

which system script function need to be called.


I checked the document but didnt get any function or way to call windows command using world script or system script.


some more pointers please.

Link to post

Now I want to run more than one command, but as I run the 1st one the unigine holds the resource and my 2nd command dosent execute.


Also if I try to use "start" command its not behaving as expected.(i.e its not opening a new window)

system("start cmd /K \"cd /d c:/somefolder\"");
Link to post