logon script problem after desktop folder redirect in terminal server

i have a terminal server that i want to initiate desktop folder redirect.
server os: 2003
i set it up in the gpo and it works ,
the problem now is that i have a logon script that copy shortcuts to users desktop folder ->
xcopy \\server\netlogon\shortcuts\"blabla.lnk" "%userprofile%\desktop" /D /Y
after redirecting the logon script is not working -> i understand why but i can`t figure our how to fix it..
is there any enviorment variable that correspond to the desktop folder ?
any %desktop% or smt like that ?

thanks in advance
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Here you have all the environment variables http://vlaurie.com/computers2/Articles/environment.htm
There is not someting like %Desktop% but you can make a script that checks if the session is at the Terminal Server by reading the Computer Name and make something like
If ComputerName=TerminalServer then
      xcopy \\server\share\blbla.lnk c:\users\\desktop
     xcopy \\server\netlogon\shortcuts\"blabla.lnk" "%userprofile%\desktop" /D /Y
End if

Hope this helps

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Can't you use the redirected location? Like: \\server\redirectdir\%userprofile%\desktop ?
FiremanFpGAuthor Commented:
first of all thanks for the answers,
what i did is for my easy of usage i created an enviorment called %homedesktops% and i set the value for the \\server\desktoptargetdir
and changed the script to point to %homedesktops%\%username%\desktop

thanks for the answers

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.