Hi,

sorry, but I´m tired of my unsuccessful trying ....

Problem:

I´ve tried to used Windows 2003 command-line-tool
DSADD.EXE to add an new user to the Active Directory (AD).

It works fine from a commandline or from a Batch-(-BAT)-File.

But including my commandline into KIX (I´m using v4.20 FINAL), I only get error-beeps all the time I´ve tried from the KIX32.EXE ....

I tried:

Code:
 $cmd="%comspec% /E:1024 /c DSADD.EXE user "CN=James Robert,CN=Users,DC=domain,DC=int""
SHELL $cmd



But this won´t work, and also:

Code:
 $cmd=´%comspec% /E:1024 /c DSADD.EXE user "CN=James Robert,CN=Users,DC=domain,DC=int"´
SHELL $cmd



won´t work.

It seems, tp be aan error with the single/double-quotes, but I can´t find out ...

Any help ?

Regards,

Luziekix