system with chs() on Windows

   1538   0   1
User Avatar
Member
18 posts
Joined: July 2005
Offline
Hi there,

I am trying to run some system commands on my mantra Rop during the pre-render scripts.

I wanted to embed the name of the file that is being written out in to some system command that runs an operation on the file. ie: we have version controlling of files, and I would like to have the checkout/editing of that file be automatically handled by the rop.

but I cannot get it to do the run the command properly. I think its the way I'm trying to reference the channel which has the name in it.

system("cmd /c vesionControler.exe edit chs('/out/Render/vm_picture'))

when I replace the chs with the full expanded path of the file it works, but I can't access the parameter live.

and I guess the mistake I'm making is probably sooo simple that I can't find any documentation about the correct syntax for accessing parameters from with in strings.

any help would be appreciated.

Thank you.
Ali.
  • Quick Links