Hi,
 
Thanks for the tip. While googling for more details I found that it is 
possible to run programs at computer startup: 
http://technet.microsoft.com/en-us/library/cc770556.aspx
 
Using that, I was able to run my login.bat at startup, before the ccnet 
service starts.
 
Kind regards,
Daniel Rose
 

Am Donnerstag, 25. Oktober 2012 09:17:05 UTC+2 schrieb Ruben Willems:

> Hi
>
>
> another possible solution is the following :
> use permanent network drives
>
>
>
> I think you have something like 
> D:\Projects\Develop\Finance\V1\main\source\...
> and you want to assign drive K to D:\Projects\Develop\Finance\V1\main\
>
> if so you could share the D:\Projects\Develop\Finance\V1\main\    as 
> FinanceV1
> and map it as a permanent drive
> net use K: \\localhost\FinanceV1  /persisten:yes
>
>
> with kind regards
> Ruben Willems
>
> On 23 October 2012 14:44, Daniel Rose <[email protected] <javascript:>> wrote:
>
>> In my company, the build server still runs the normal ccnet executable 
>> instead of the ccnet service. That means I have to a user logged on; if the 
>> server reboots I need to logon and start the exe. Thus, I would like to 
>> change to the ccnet service.
>>  
>> Unfortunately, that doesn't work currently. The reason is that each 
>> "version" of each project (i.e. the same project, but with different 
>> repository path) needs its own drive. I handle this by using "subst" to 
>> create a virtual drive for each version; I run a batch file is run at login 
>> to do this. However, if I start the service, then that batch file has not 
>> been run, so the drives aren't there, so ccnet aborts.
>>  
>> Is there a way to get the ccnet service to run my batch file at startup?
>>  
>> Kind regards,
>> Daniel Rose
>>
>
>

Reply via email to