pramod.s Posted January 18, 2013 Posted January 18, 2013 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.
pramod.s Posted January 21, 2013 Author Posted January 21, 2013 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.
frustum Posted January 21, 2013 Posted January 21, 2013 system(format("fxc.exe /nologo /O3 /Zpc /Ges /Tvs_5_0 /Emain /Fo%s %s",dest,src));
pramod.s Posted January 24, 2013 Author Posted January 24, 2013 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\"");
frustum Posted January 25, 2013 Posted January 25, 2013 system("cmd.exe /c start cmd.exe /K \"cd /d c:/somefolder\"");
Recommended Posts