info-cvs
[Top][All Lists]
Advanced

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

win2000 cvs batch file


From: Robert Tamburo
Subject: win2000 cvs batch file
Date: Tue, 17 Jul 2001 14:28:02 -0400

Hi,

I've written a batch file that when executed does the following for me:

1. deletes  backup folder
2. makes new backup folder
3. copies current folder contents to backup folder
4. updates from a cvs repository

Everything works fine when I double-click the batch file.

However, I've added the batch file to the win2000 (server) task scheduler
and it will not "execute" the CVS command line (it does everything prior to
the CVS command). Does anyone know what I have to do so that the task
scheduler will run the CVS command?

<-------------------Begin Batch File-------------------->
@echo on
title CVS Turkey Checkout
echo Removing backup......
rmdir /S /Q TurkeyBak
echo Backing up.......
mkdir TurkeyBak
xcopy TurkeyCurrent TurkeyBak /E /Q /Y
cvs -d :pserver:address@hidden:/turkey/cvsroot checkout Turkey // scheduler
stops here
echo Checkout completed!
time /T
<--------------------End Batch File--------------------->

Thanks for any help,
Robert






reply via email to

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