Thank you ShaneEP for your help!
Thank you Glenn for the welcome and your help (nice website you have)!

My objective is to build the CMD file which should contain the full DSQUERY command syntax, parameters, and values.

Unfortunately, I have to pass the CN= value (which I get from the LDAP query function (GetUserOU)) to the command DSQUERY USER -NAME .

I checked various ways to start the CMD shell within KIX:

 Code:
Shell '%comspec% /A /C Test.cmd'

This should "Causes the output of internal commands to a pipe or file to be ANSI".

 Code:
Shell '%comspec% /U /C Test.cmd'

This should "Causes the output of internal commands to a pipe or file to be Unicode".

But I was not able to get good results.

Is there a way, from KIX, to create the CMD file in ANSI format?


Edited by marvince (2011-09-18 02:15 AM)