Guys I figured out what the problem is when you get the "'blender' is not recognized" issue. Make sure the .exe file is named Blender.exe and not anything else. I had the same issue because my .exe was set to Blender 3.exe so I renamed it and everything is fixed now.
ALSO make sure your batch file is on your C drive; since all my blender files were on my G drive, I put my batch file also on my G drive. I kept getting errors until I moved it to the desktop; the errors were telling me "blender is not recognized," like your comment is saying.
Thanks, It worked however I had to add the drive name before the cd line, Like this C: cd "C:\Program Files\Blender Foundation\Blender 3.5" after this it worked amazing
Oh lovely, lovely, lovely! Thank you so much! Note for others as well... people mentioned the blender launch file has to be named "blender.exe" (which mine was) but still didn't work which, afterwards I realized is cause I had blender installed on disk B rather than C, I had to move the .bat file to disk B so it can detect blender
Make sure your batch file is on your C drive; since all my blender files were on my G drive, I put my batch file also on my G drive! I kept getting errors until I moved it to the desktop, telling me "blender is not recognized."
The "cd" command changes the directory, but not what drive you are working with. So when you go "cd d:\temp", you are changing the D drive's directory to temp, but staying in the C drive. Execute these two commands: D: cd temp That will get you the results you want.
@sergeyandreev2599 so if I want to render a file in my D drive into my D drive. I should do: cd "C:\Program Files\Blender Foundation\Blender 3.3" blender -b D: cd temp "D:\project file location" -a cmd/k doesn't seem to work for me but I guess I didn't do it correctly. Do you perhaps know why?
@@danielwp498 My working file: C: cd "C:\Program Files\Blender Foundation\Blender 2.93" blender -b "T: ame.blend" -a cmd /k Is it helpful for you? I don't know. If you're talking about render files location, you need to change settings in blender and save the file
So helpful! Thank you Terrence, I've got a lot of scenes to get rendered out and micro managing all the renders wasn't something I was looking forward to. It is working like a charm!
thank you very much, really helpful man the only thing that I can say is that it would be much more easy to follow if there was not background music or decrease the background music volume level. 💮
Late to your channel but just what I needed, thankyou keep up good work. I'm new to blender but not to 3d and although there are a lot of good tutorials on RUclips most are beginner friendly. I'd like to see more intermediate ones personally. The bought ones are very similar in my experience so far but am enjoying blender.
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))... I'am getting this error. Can you please help me out here. Thanks in advance.
'blender' is not recognized as an internal or external command, operable program or batch file. I AM GETTING THIS ERROR PLEASE TELL ME WHAT SHOULD I DO?
Hey there! It sounds like you're not running the command from the correct folder. Watch from 2:46. You should get the location of the blender.exe and copy it to the note pad file. You will need to CD command to ensure the command look for the blender exe in the correct folder.
hey I had the same issue, first type in >cd copy paste your blender file path here and then write blender.exe, after that it will open blender for you, so close it afterwards, the rest is the same as in the video
Think I might be doing something wrong. getting this error 'blender' is not recognized as an internal or external command, operable program or batch file.
This is extremely helpful! I work in a science museum, where I often have to crank out huge sequences of frames, often running the computers on weekends or nights. This really helps to make tha an automatic process! I do have one question, and please forgive me if you've already answered. I want to set start and end frame numbers for my rendering. I looked up the commands, and I think I understand them, but I think my syntax is not right. I have my first line of rendering as >> Blender.exe -b "D:\projects\batch-file-test\batch-file-01.blend" -s -e
Great way to save time to render while sleeping. But i have small questions. Is that work on image sequences too? Also I have another 1 tricky question, I'm rendering product videos, obejcts or lights not moving, I do some camera pans around the product. I do frames 1-150 for first scene and frames 151-300 for next scene with different camera angle. Is ıt possible to render both camera view at the same time? Because lights, shadows, reflections are not changing..
Bruh my render nightmares are finally over can't wait to test is out on a 4gb NVIDIA 1650 i can render 10 or more files without using my gpu holly molly.
Thanks for the feedback. I had no good audio equipment back then. I've long upgraded my equipment. My future videos will be a whole lot better from an audio standpoint.
Really glad I could help 😁. Unfortunately using this method wont allow you to see the render. I always check my settings, lighting, enabled objects etc. Do a few test renders before committing to a render like this.
@@terr20114 I was imagining that, but it's ok, I am doing a lot of renders just changing a object, it was crazy wait the render all the time, now I can do 10 and send =) Thank you again!
Hmmm, sorry, but the batch doesn't work at blender 4.0.2, in my case. I have all blender-versions installed at drive D and the blend-files, including the batch-subfolder, at drive F. The batch tells me, that the blend-files could not be found or were misspelled. Tis is how I did the script: cd "D:\3D-Software\Blender\Blender 4_0\" blender -b "F:\Projects - 01 Alle\Projects - Blender\Blender Scenes\xyz.blend" -a cmd /k What must I change, to make the batch-file work?
Hey man this was exactly what I was looking for. I noticed that when rendering this way it wont actually use my gpu. Eventhough If I start the same render in blender it does use the gpu to render. Any ideas?
Is there a way to set a time limit on the renders? like, let's say that all together all of my projects have a render time of about 12 hours, but I only want 8 hours of the render done on a certain day, and the other 4 hours a different day, how would I go about doing that?
Thanks, does it is possible to rendered several files one by one without overwritting the new render at each loop ? Example : Files C1, C2 and C3.blend, then launching the command and finally have C1, C2 and C3.png pictures in the directory. Thank you in advance !
is there a way to render multiple cameras in one scene using this method or do you have to create multiple copies of the same scene with different camera angles?
There is a really handy marker solution. You can create markers on timelie (M) and bind active camera to marker (ctr+B). As long as they are in render range they will get rendered. Thus you can render multiple shots throughout multiple blend files. I dont know how it works with different scenes. As far as i know it only renders active scene.
This is not working for me at all in blender 3.1. I tried running as administrator from the desktop, and I get a lot of shit about other addons in the cmd line. I saved what it said--are you able to help? Willing to donate to your patreon or whatever you take in order to get this working. This would be a game changer for my production flow.
Do u have an example if I would want to use 2x-GPU and render multiple .blend files? For now I will try this code echo on start /d "%blenderPath%" blender2.exe -b "%cd%\%sceneFile1%" -s %startFrame1% -e %endFrame1% -j %instances% -a timeout 1 start /d "%blenderPath%" blender3.exe -b "%cd%\%sceneFile2%" -s %startFrame1% -e %endFrame1% -j %instances% -a timeout 1 What cmd /k does?
Actually you can, instead of "cmd /k" you can add "shutdown /s" at the end of your script. Your PC will shutdown about a minute after the render is complete.
just for this tutorial you got a new subcriber! Thanks for this tutorial! But the cumunity is the most beautiful that you have! I got some problems but thanks to @lunardbay and @PlanetXtreme I could do it YOU GUYS ARE awesome. thanks
Guys I figured out what the problem is when you get the "'blender' is not recognized" issue. Make sure the .exe file is named Blender.exe and not anything else. I had the same issue because my .exe was set to Blender 3.exe so I renamed it and everything is fixed now.
That's great! Makes sense too. If there's no blender.exe in the location there's nothing to run the commands
ALSO make sure your batch file is on your C drive; since all my blender files were on my G drive, I put my batch file also on my G drive. I kept getting errors until I moved it to the desktop; the errors were telling me "blender is not recognized," like your comment is saying.
I copy the path of blender.exe
@@PlanetXtreme thanks man you are a lifesaver.
@@blackout5145 yeah us _guys_ with extra *hard* _drives_ gotta stick together
Thanks, It worked however I had to add the drive name before the cd line, Like this
C:
cd "C:\Program Files\Blender Foundation\Blender 3.5"
after this it worked amazing
my friend linked me this, im new to blender and this is perfect for my use case. thanks bro
Welcome to the blender community! 😁 I’m happy my video was able to help.
Oh lovely, lovely, lovely!
Thank you so much!
Note for others as well... people mentioned the blender launch file has to be named "blender.exe" (which mine was) but still didn't work which, afterwards I realized is cause I had blender installed on disk B rather than C, I had to move the .bat file to disk B so it can detect blender
Make sure your batch file is on your C drive; since all my blender files were on my G drive, I put my batch file also on my G drive! I kept getting errors until I moved it to the desktop, telling me "blender is not recognized."
More importantly, Put your batch file on the same drive where blender is installed on!
Thank you, exactly what I was looking for!
Glad I could help!
This is really cool I didn't know you could do this 🤯🤔
No kidding. I was a little mind blown when I learned it myself. Saved me some boring nights
awesome. Exactly what I was looking for
Glad I could help.
wow this music is absolutely killing me.. can't concentrate on what you're saying but I try my very best! :D
If you want to shutdown your pc after completing render jist add the following command
shutdown/s /t 0 before cmd/k
The "cd" command changes the directory, but not what drive you are working with. So when you go "cd d:\temp", you are changing the D drive's directory to temp, but staying in the C drive.
Execute these two commands:
D:
cd temp
That will get you the results you want.
Thanks for that!
@sergeyandreev2599 so if I want to render a file in my D drive into my D drive. I should do:
cd "C:\Program Files\Blender Foundation\Blender 3.3"
blender -b D: cd temp "D:\project file location" -a
cmd/k
doesn't seem to work for me but I guess I didn't do it correctly. Do you perhaps know why?
@@danielwp498 My working file:
C:
cd "C:\Program Files\Blender Foundation\Blender 2.93"
blender -b "T:
ame.blend" -a
cmd /k
Is it helpful for you? I don't know. If you're talking about render files location, you need to change settings in blender and save the file
@@sergeyandreev2599 that worked for me! Adding the C: in the first line before the cd command solved the issue. Thanks so much!
@@danielwp498 I'm very happy to help you :)
So helpful! Thank you Terrence, I've got a lot of scenes to get rendered out and micro managing all the renders wasn't something I was looking forward to. It is working like a charm!
thank you very much,
really helpful man
the only thing that I can say is that it would be much more easy to follow if there was not background music or decrease the background music volume level.
💮
Thanks man, I was searching batch rendering with multiple blender file last couple of days.
Keep creating bro🔥
I will bro! Staying focused
Just the ultimate soundtrack to learning something, thanks Terrence!
Late to your channel but just what I needed, thankyou keep up good work. I'm new to blender but not to 3d and although there are a lot of good tutorials on RUclips most are beginner friendly. I'd like to see more intermediate ones personally.
The bought ones are very similar in my experience so far but am enjoying blender.
This is magic, isn't it? Thank you very much, sir.
An ancient family secret :)
Simple and easy, most importantly it works well! Thank you so much your video helps A LOT!
this is a work of wonder, God Bless You my guy!
Keep in mind you have to open file as administrator if you face issue like file is not recognized
You are life saver❤
Amazing content! subscribed without hesitation.
Appreciate the comment and the Sub! Thank you!
Thank you so much!!! This is what I needed!
GENIUS
Wish i could double upvote - perfect video explaining this
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))... I'am getting this error. Can you please help me out here. Thanks in advance.
Try version 3.1.2
That is amazing 🌟
Thank you very much I didn’t know about this ❤❤❤❤
Thank you for this awesome piece of knowledge
'blender' is not recognized as an internal or external command,
operable program or batch file.
I AM GETTING THIS ERROR PLEASE TELL ME WHAT SHOULD I DO?
Hey there! It sounds like you're not running the command from the correct folder. Watch from 2:46. You should get the location of the blender.exe and copy it to the note pad file. You will need to CD command to ensure the command look for the blender exe in the correct folder.
@@terr20114 Same trouble :( my command : cd "C:\Program Files\Blender Foundation\Blender 2.91"
@@MrZakousky I'm thinking blender isn't located in the default folder. Right click the shortcut, click open the file location and see where it is.
hey I had the same issue, first type in >cd copy paste your blender file path here and then write blender.exe, after that it will open blender for you, so close it afterwards, the rest is the same as in the video
you have to run it as admin.
'blender' is not recognized as an internal or external command
SOLUTION: right click, Run as administrator.
Great Thank you
is it possible to render the files with out having to input all the files address ?? just say "render every blender file inside this folder"
Excellent man!
Thank you! Cheers! 🍻
Think I might be doing something wrong. getting this error
'blender' is not recognized as an internal or external command,
operable program or batch file.
Message me on discord Terr20114#7206
SOLUTION: right click, Run as administrator.
Can you also batch render multiple scenes in a blender file?
I don't have a specific set of skills. But If I had, I will find you. And I will hug you.
😄 Thanks! Glad I could help
genius
Thank you so much, it really helped me.
great video! does it uses the gpu or only cpu with that method? because the gpu is much stronger in my case, thx.
This is extremely helpful! I work in a science museum, where I often have to crank out huge sequences of frames, often running the computers on weekends or nights. This really helps to make tha an automatic process! I do have one question, and please forgive me if you've already answered. I want to set start and end frame numbers for my rendering. I looked up the commands, and I think I understand them, but I think my syntax is not right. I have my first line of rendering as
>>
Blender.exe -b "D:\projects\batch-file-test\batch-file-01.blend" -s -e
Great way to save time to render while sleeping. But i have small questions. Is that work on image sequences too? Also I have another 1 tricky question, I'm rendering product videos, obejcts or lights not moving, I do some camera pans around the product. I do frames 1-150 for first scene and frames 151-300 for next scene with different camera angle. Is ıt possible to render both camera view at the same time? Because lights, shadows, reflections are not changing..
10/10 you're the best thank you
thx - This is what I needed
thanks man. very appreciated trick
Amazing
Great tutorial! Thx
Jump to 2:41 to get to the actual batch render tutorial.
Good suggestion. I've updated the timecodes.
@@terr20114 nice, thanks!
@@AlexandreMarcati Gotta thank you for that suggestion 👍
one question, can i even set the active cam from the cmd? if yes that would be nut
Bruh my render nightmares are finally over can't wait to test is out on a 4gb NVIDIA 1650 i can render 10 or more files without using my gpu holly molly.
does it work on Mac?
tried to watch the video, just couldn't, because music in background is so annoying.
Thanks for the feedback. I had no good audio equipment back then. I've long upgraded my equipment. My future videos will be a whole lot better from an audio standpoint.
@@terr20114 Thanks, I rather listen your audio with all the issues then like this. Great video btw.
Thank you, it worked perfectly. I couldn't use -f tho, it doesn't work when I try something like "-f 1-24", but -a works fine. Any ideas?
Incredible. How would you export objects from a bat file. Is there any documentation available for these commands ?
Hi
I'm new to blender. I usually batch render with arnold. Is there a list of render flags you can use like in Arnold?
Hey Paolo, I never checked out Arnold before but I can look into it. I'm considering making a discord where we can discuss these kinda things easily.
Amazing!!!! Thank you so much! Just save one more life! (Is there a way to open blender to see the rendering?)
Really glad I could help 😁. Unfortunately using this method wont allow you to see the render. I always check my settings, lighting, enabled objects etc. Do a few test renders before committing to a render like this.
@@terr20114 I was imagining that, but it's ok, I am doing a lot of renders just changing a object, it was crazy wait the render all the time, now I can do 10 and send =) Thank you again!
@@b3dsign you're welcome 😁👍
Hmmm, sorry, but the batch doesn't work at blender 4.0.2, in my case.
I have all blender-versions installed at drive D and the blend-files, including the batch-subfolder, at drive F.
The batch tells me, that the blend-files could not be found or were misspelled.
Tis is how I did the script:
cd "D:\3D-Software\Blender\Blender 4_0\"
blender -b "F:\Projects - 01 Alle\Projects - Blender\Blender Scenes\xyz.blend" -a
cmd /k
What must I change, to make the batch-file work?
I think moving the batch file in the installation drive should work
Hey man this was exactly what I was looking for. I noticed that when rendering this way it wont actually use my gpu. Eventhough If I start the same render in blender it does use the gpu to render. Any ideas?
Is there a way to set a time limit on the renders? like, let's say that all together all of my projects have a render time of about 12 hours, but I only want 8 hours of the render done on a certain day, and the other 4 hours a different day, how would I go about doing that?
Make sure to run the batch file as administrator. it fixed not recognise blender
Thanks, does it is possible to rendered several files one by one without overwritting the new render at each loop ? Example : Files C1, C2 and C3.blend, then launching the command and finally have C1, C2 and C3.png pictures in the directory. Thank you in advance !
same problem
did you fixed it?
is there a way to render multiple cameras in one scene using this method or do you have to create multiple copies of the same scene with different camera angles?
There is a really handy marker solution. You can create markers on timelie (M) and bind active camera to marker (ctr+B). As long as they are in render range they will get rendered. Thus you can render multiple shots throughout multiple blend files. I dont know how it works with different scenes. As far as i know it only renders active scene.
İts not working.” Error cannot read file No such file or directory “ what did a do wrong
do you know,..why my render result is in "TMP folder" not in the same folder that I saved my file?
thanks in advance
I can't seem to be able to get the second file to render. The Code stops after saving the files.
Thank ypu, so useful
You’re welcome. Please subscribe for more tips and tutorials
@@terr20114 Yep, subscribed ;)
ok wow
Does the command line read the plug-in?
Btw does that cound as writing code?
Is it possible to have it automatically render all blend files in a specified folder rather than listing each file manually?
How does one batch render multiple scenes in one blender file?
omg... blender. Does it batch render in the latest version without all this nonsense?
i love this shit thaaaaaaaaaaaanks
This is not working for me at all in blender 3.1. I tried running as administrator from the desktop, and I get a lot of shit about other addons in the cmd line. I saved what it said--are you able to help? Willing to donate to your patreon or whatever you take in order to get this working. This would be a game changer for my production flow.
Do u have an example if I would want to use 2x-GPU and render multiple .blend files?
For now I will try this code
echo on
start /d "%blenderPath%" blender2.exe -b "%cd%\%sceneFile1%" -s %startFrame1% -e %endFrame1% -j %instances% -a
timeout 1
start /d "%blenderPath%" blender3.exe -b "%cd%\%sceneFile2%" -s %startFrame1% -e %endFrame1% -j %instances% -a
timeout 1
What cmd /k does?
hey does it work for VSE ?
Can you do that with mac too?
Hi, and thanks! How can I do this on a Mac?
works also for jpg and png with eevee?
Yes it does. Just set your settings and save the file before you begin the batch render
can we have the .blend files in different folders? wat about the .bat file?
please help!!
Hi, I"m a little late but yes you can, you just need to put the path to each .blend file in the bat script.
Png files?? Support? I did it but not working
Nice tut. Terrible bmg. Can barely hear you! Please get rid of it!!
Don't you worry. I've purchased an audio interface and a good microphone for all future videos. :)
Can we make the pc to shutdown after finishing the render?
Actually you can, instead of "cmd /k" you can add "shutdown /s" at the end of your script. Your PC will shutdown about a minute after the render is complete.
@@terr20114 thanks man ❤️
linux?!!?!?
I'm not sure how this is done on linux. I could try
just for this tutorial you got a new subcriber!
Thanks for this tutorial!
But the cumunity is the most beautiful that you have! I got some problems but thanks to @lunardbay and @PlanetXtreme I could do it YOU GUYS ARE awesome. thanks
That's what I needed ! Thank you