Hi,

I'm trying to connect to a CVS server from an ASP page
running on Windows 2000 Professional.  I've tried
adding and setting the HOME, HOMEDRIVE and HOMEPATH
environment variables in Windows but that kept my ASP
page from processing correctly.  The ASP page makes
use of an object that allows you to execute DOS and
Windows apps.  I also tried setting the variables from
within the script.  Here is some of the code:

 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:user@server:/usr/local/cvsroot login"
 strResult = Executor.ExecuteDosApp
 Response.Write "<pre>" & strResult & "</pre>"

The strResult turns out to be:
(Logging in to user@server)
cvs.exe [login aborted]: could not find out home
directory

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

Thanks,
M

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to