> Thank you for responding.
> 
> I have tried below listed command -- command prompt is
> being invoked and i could see the cmd.exe as a process
> after running the asp page. 
> 
> But it is not executing the adddomain.exe parameter
> line for domain creation in imail.
> 
> Any help in solving the issue is much appreciated.
> 
> Thanks
> Kri

Is the web page running as IUSR ?  If it is, it needs to be changed to run 
as an admin... 

> --- Keif Gwinn <[EMAIL PROTECTED]> wrote:
> > > 
> > > 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