islaSyr
07-05-2009, 11:25 AM
Hi
I Have a Problem with Paths..
In Version 6.5 of XSI I was using this line (JScript):
var DesktopPath = XSIUtils.ResolvePath("$USERPROFILE")+"\\Desktop";
I used this line to get Desktop path to export objects or
models..
But when I worked on ver.7 the command send me an error
on Value: "$USERPROFILE": Invalid argument specified.
He couldn't resolve that path..
So What's the problem?
Is there another way to get user profile path..?
Thanks 4 reading..
-
I Have a Problem with Paths..
In Version 6.5 of XSI I was using this line (JScript):
var DesktopPath = XSIUtils.ResolvePath("$USERPROFILE")+"\\Desktop";
I used this line to get Desktop path to export objects or
models..
But when I worked on ver.7 the command send me an error
on Value: "$USERPROFILE": Invalid argument specified.
He couldn't resolve that path..
So What's the problem?
Is there another way to get user profile path..?
Thanks 4 reading..
-
