How to redirect Xref object in 3ds max maxscript

Hi guys.

I can not figure out a way to redirect Xref obj file path to new location.
Basically I just need a code to do the Resolve path to UNC command.

http://www.scriptspot.com/forums/3ds-max/general-scripting/network-drive...

This didn't work for me for some reason. :(

Can anyone help me.