Hello all,

I am having some solid issues with my .bat file, I am setting all my 
pathing in the .bat file and then at the end of the file running:

"C:\Program Files\Autodesk\Maya%MAYA_VERSION%\bin\maya.exe" & -batch & 
-script & C:\temp\foo.mel

I get the cmd line errors: -batch is not recognized as an internal or 
external command

This is very odd though as running maya.exe by itself works just fine and 
if I use the command line I can run the command maya -batch -script 
c:\temp\foo.mel and it will run just fine.

Am I missing something in my command line execution?

Any help would be much appreciated.

Cheers,

Ben

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/7ff86b60-74fc-4ea8-9089-60d2b6382ef9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to