- Home /
Question by
DQQQ · Dec 26, 2014 at 08:35 PM ·
command-linebatch
Creating Batch file to run unity with commands
I would like to create a batch file to run unity with the command -force-opengl and enable-stereoscopic3d
So far I have: START "" "C:\Program files (x86)Unity\Editor\Unity.exe" -force-opengl -enable-stereoscopic3d
I get the error: Windows cannot find '-force-opengl'
Comment
Best Answer
Answer by Landern · Dec 26, 2014 at 08:36 PM
The idea here is: START windowTitle /D "thePath" "theExecutable" -arg1 -arg2
START "" /D "C:\Program Files (x86)\Unity\Editor" "Unity.exe" -force-opengl -enable-stereoscopic3d
Your answer
Follow this Question
Related Questions
Stop play procedure from within a script 0 Answers
SetPass calls - important to keep this number low? 5 Answers
Is it possible to make an activation of Unity via command line? 2 Answers
Pass Jenkins Environment Variables to Unity3dBuilder 2 Answers
How do you compile a managed dll with mono/mcs targeting .net 2.0 or 3.5 for Unity? 1 Answer