Page 1 of 1

Scripting batch render,.

Posted: Thu Jan 21, 2010 9:37 pm
by bjorn.syse
Hi!

I'm trying to use the script function to write a script (.ms-file), which when launched will render all the .mxs-files in the CURRENT FOLDER/SAME FOLDER as it resides in. I'm trying the following approach:

1. I have .ms script which loads the folder "\."
2. I have a windows .cmd file, which I've associated the .ms file extension to, and it will launch .ms files when double-clicked on.

I am not succesful in getting the Maxwell script know the current folder, or such. Is there a way to give a certain folder to a maxwell script without actually hard-coding it in the script file, which isn't very flexible?

best regards,.

- Björn