We've created a system variable called "Desktop". This variable points to the desktop from the user that is logged in.

When we create a bundle that, for instance, creates a directory on the desktop from the user, eg: md %Desktop%\hello or ms ${Desktop}\hello, it doesn't create the directory on the desktop from the user. Instead it creates the following directory: c:\documents and settings\"admin user"\desktop\hello, where "admin user" is the user that created or last changed the script.

When we use a Microsoft system variable it works fine. But Microsoft doesn't provide a variable for the desktop.

Anyone have an idea?