info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: connect to CVS from ASP page?


From: Larry Jones
Subject: Re: connect to CVS from ASP page?
Date: Fri, 18 Jan 2002 16:50:14 -0500 (EST)

Woo Melina writes:
> 
>  Set Executor = Server.CreateObject("ASPExec.Execute")
>  Executor.Application = "cmd /c set home=c:\cvsadmin"
>  strResult = Executor.ExecuteDosApp
> 
>  Executor.Application = "cmd /c set homedrive=c:"
>  strResult = Executor.ExecuteDosApp
> 
>  Executor.Application = "cmd /c set
> homepath=\cvsadmin"
>  strResult = Executor.ExecuteDosApp
>       
>  Executor.Application = "c:\inetpub\scripts\cvs.exe"
>  Executor.Parameters = "-d
> :pserver:address@hidden:/usr/local/cvsroot login"
>  strResult = Executor.ExecuteDosApp
>  Response.Write "<pre>" & strResult & "</pre>"

Each ExecuteDosApp is completely independent, so you can't set an
environment variable in one and expect it to still be set in a later
one.  What you need to do is use a single ExecuteDosApp to run a .bat
file that sets the environment variables and then runs CVS.

> Any ideas?  Please e-mail me directly as I am not
> currently part of this mailing list.

You might want to consider joining -- see:
<http://mail.gnu.org/mailman/listinfo/info-cvs>

-Larry Jones

Mom would be a lot more fun if she was a little more gullible. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]