Win Sys Commands through Command Script Job

When I try and run command like “copy” through the command script job it fails with:
Render executable returned from RenderExecutable(), “copy”, does not exist.

Is there a way that this submit will recognize system commands?

thanks,
Andrew

Hey Andrew,

You could place these commands in a batch file, and then just run the batch file. Would that work?

Cheers,

  • ryan

I tried that and it gave me the same error.

I could always use python to do the copy but I don’t have python installed on every render node… :frowning:

The batch file would have to be on a server that all the machines you’re running the command on can access. You would also have to specify the absolute path to the batch file. Sorry, I should have been more specific.

Cheers,

  • Ryan

I had that but you know what it was… I didn’t specify the Startup Directory for the .bat file… I had an old dir path in there and figured that it didn’t matter since I was explicitly declaring the path to the .bat…
Once I put in the same path in the Startup Directory as to where the .bat lived then it was cool.

All good now… thanks for the help

Andrew