windows command line help

   3587   2   1
User Avatar
Member
24 posts
Joined: June 2006
Offline
I am trying to accomplish rendering of specific output and frame ranges via the dos prompt, and I am finding it better suited to the cshell. The dos prompt does not seem to allow arguments to be passed to hscript.
I want something like this:

hscript “render -f 20 25 /out/geometry1” \\server\job\myfile.hip

but the dos shell can't deal with it. I could use the cshell ala:

csh -b “hrender -e -f 20 25 /out/geometry1 \\server\job\myfile.hip”

but that does not work either.
I need the command to originate within dos to work with a renderfarm system, it does not help me to pop into the csh and then run hrender, since the renderfarm service needs to execute all of the commands in one line.

any ideas? - perhaps a way to get csh -b to work with arguments? It jsut acts like you are trying to open a file named hrender.

MD
User Avatar
Member
7760 posts
Joined: July 2005
Online
Two things:
- Use all forward slashes and no backslashes
- I think you want csh's -c option, not -b. See http://www.tcsh.org/tcsh.html/Argument_list_processing.html [tcsh.org]
User Avatar
Member
24 posts
Joined: June 2006
Offline
sorry for the cross post, I guess most people do read both…
yes the csh -c was correct, it it does seem to work
csh -c “hrender -e -f 1 10 -d /out/test myfile.hip”
from DOS
Thanks for all of the help
MD
  • Quick Links