View Full Version : Desktop Path with ver.7

07 July 2009, 11:25 AM
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

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..


CGTalk Moderation
07 July 2009, 11:25 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.