pre-render script vs. Vray

I have a pre-renderscript which just set another save path for IRRmap

renderers.production.adv_irradmap_autoSaveFileName = “X:\\maxtest\\muh.vrmp” as string

in vray RC3 I get error
Saving irradiance map to file "¼╞╓§8▌X♫st\test.vrmap

is there a work around Vlado ?
I know RC3 is very out of date but I must run it beside all the other RC and SP release to be “compartible” to my clients

a.

Is it possible to UNC the path rather than using a drive letter?

If I remember correctly you need to format it like this:

\\\servername\\folder\\file.vrmap

Not sure if that will help you.

Hello,

Some help for your scripting.

at first, when you build a string with " .. " there is no need to parse it to string.
as string

If you using slashes => \ you have to escape everyone, so unc path will be
“\\\\server\\folder\\file.vrmap”

when using backslashes => / you dont hav to escape, so unc path will be
“//server/folder/file.vrmap”

Both give same result.