Running a command in CMD doesn't work

Discuss RoboTask here
Post Reply
pancakegh
Posts: 15
Joined: Mon Feb 16, 2015 10:21 am

Running a command in CMD doesn't work

Post 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 9803 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?
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Running a command in CMD doesn't work

Post 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 /?
Oleg Yershov
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Running a command in CMD doesn't work

Post by Oleg »

also look at the Change Folder action
It changes the current folder without problem
Oleg Yershov
Post Reply