> 
> Following is the code block which i am using 
> 
>   varParams = " c:\imail\adddomain.exe -h rkhost.com
> -i VIRTUAL"
>   Set Executor =
> Server.CreateObject("ASPExec.Execute")
>   Executor.Application = "cmd"
>   Executor.Parameters = varParams
>   Executor.ShowWindow = True
>   strResult = Executor.ExecuteDosApp
> 
> Execution of the script is happening with out any
> error -- but domain is not geeting created under
> imail.

Try changing the executable to 

c:\winnt\system32\cmd.exe /c

not having used adddomain I can't comment on that syntax :)

Keif Gwinn

IARNA, a Hostway Company
scotts sufferance wharf
1 mill street. london. se1
united kingdom
t/ +44 207 231 7766
f/ +44 207 231 2327
www.iarna.co.uk

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Please visit the Knowledge Base for answers to frequently asked
questions:  http://www.ipswitch.com/support/IMail/

Reply via email to