Created
January 14, 2014 16:24
-
-
Save jhorsman/8421066 to your computer and use it in GitHub Desktop.
Restarting SDL Tridion 2011/2013 services while developing an Event system. You can use this batchfile as a post build task in Visual Studio.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
@echo Stopping Tridion Services | |
REM stopping the services with 'net stop' instead of 'sc stop' (this is synchronous) | |
net stop TCMPublisher | |
net stop TcmSearchIndexer | |
net stop TcmServiceHost | |
@echo Stopping Tridion Com+ application | |
cscript "..\..\..\Stop ComPlus.vbs" | |
@echo Copying DLL to Tridion bin folder | |
copy /Y %1 "D:\Tridion\bin\Extensions" | |
@echo Starting Tridion Services | |
REM starting the services again with 'sc start' instead of 'net start' (this is asynchronous so faster) | |
sc start TCMPublisher | |
sc start TcmSearchIndexer | |
REM sc start TcmServiceHost 'this is already started by the TcmSearchIndexer | |
@echo Done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment