There you go: https://en.m.wikibooks.org/wiki/Windows_Batch_Scripting
On Fri, May 7, 2021, 20:52 Vlad Afanasjev <tokyofirst...@gmail.com> wrote: > Hmmm... I was looking into some generic tutorials. > Like how to set variables, set path, make conditions ('if', 'else'), how > to run side scripts like python. > Because right now I am trying to google staff and look into some examples > of .bat, but it looks like a puzzle I have to solve piece by piece, which > is also an option, but why do so if somebody made a tutorial :) > Thanks for example and some Maya environment variables, that's very useful. > > On Friday, May 7, 2021 at 5:54:01 PM UTC+3 Marcus Ottosson wrote: > >> I doubt you’d need a tutorial, what are you looking for the bat to do? >> >> Here’s an example, along with a few environment variables. >> >> - https://github.com/mottosso/Maya-Environment-Variables >> >> *maya2020.bat* >> >> @echo off >> set MAYA_DISABLE_CIP=1set MAYA_DISABLE_CER=1set MAYA_DISABLE_CLIC_IPM=1 >> >> :: Disable analyticsset MAYA_DISABLE_ADP=1 >> set MAYA_ENABLE_LEGACY_VIEWPORT=1set >> MAYA_NO_WARNING_FOR_MISSING_DEFAULT_RENDERER=1 >> start "" "C:\Program Files\Autodesk\Maya2020\bin\maya.exe" %* >> >> >> On Fri, 7 May 2021 at 15:44, Vlad Afanasjev <tokyof...@gmail.com> wrote: >> >>> Hey, guys. >>> I need to learn how to create .bat for Maya, anybody knows good tutorial >>> ? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Python Programming for Autodesk Maya" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to python_inside_m...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/python_inside_maya/695c8c15-f91e-4c78-896f-1f1c4e6a950dn%40googlegroups.com >>> <https://groups.google.com/d/msgid/python_inside_maya/695c8c15-f91e-4c78-896f-1f1c4e6a950dn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to python_inside_maya+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/542760d7-51ba-4016-9d3d-15998cd706c2n%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/542760d7-51ba-4016-9d3d-15998cd706c2n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPaTLMShG0rWVZd5fL8F6xvQL%3D%2BZKEszbkh4CYAV6dz0F7hgkw%40mail.gmail.com.