Hi,

I'm trying to get the Display Name from AD, but when I try to use the command:
SHELL "dsquery user OU=KPDK,DC=Q8INT,DC=com -samid %username%|dsget user -display -q -l"

It gives an error:
"dsquery failed:`user' is an unknown parameter.
type dsquery /? for help."

If I remove "|dsget user -display -q -l", it works fine. So it must be something with the pipe it doesn't like.

When I run the command from the prompt it works fine.

Is there a better way of getting Display Name from the AD or how do I get KIX to accept the full command.

Hope someone can help me

Jan