Page 1 of 1

Running a command in CMD doesn't work

Posted: Thu Oct 26, 2017 10:42 am
by pancakegh
Hi,

I'm trying to run a CMD command to batch render a bunch of scenes in blender.

I'm testing if the command line task works. I input the following:
213123123.JPG
213123123.JPG (32.88 KiB) Viewed 9837 times
this command keeps running and nothing happens.

If I open cmd in windows and input the same parameters it opens the blender folder in explorer.

Any idea how to get this working?

Re: Running a command in CMD doesn't work

Posted: Thu Oct 26, 2017 11:34 am
by Oleg
Put the /c parameter at the beginning of parameters.

If you use CMD.EXE you have to use this command line:
cmd.exe /c <your_command_line_string>

/C - Carries out the command specified by string and then terminates

To get more command-line options of CMD.exe use
cmd /?

Re: Running a command in CMD doesn't work

Posted: Thu Oct 26, 2017 12:26 pm
by Oleg
also look at the Change Folder action
It changes the current folder without problem