text
stringlengths
0
834k
)
IF EXIST ""C:\Program Files\Boot2Docker for Windows\unins000.exe"" (
""C:\Program Files\Boot2Docker for Windows\unins000.exe"" /SILENT /SUPRESSMSGBOXES /NORESTART
ECHO UNINSTALLED Boot2Docker!
ECHO.
)
ECHO ""YOU WILL NEED TO UNINSTALL VIRTUALBOX MANUALLY TO COMPLETE THE UNINSTALL""
)
IF %id% == 2 (
ECHO SO BE IT.... JEDI
)
PAUSE
",26.6129032258,95,0.7363636364
220049,f3422b8c4b55fb94c52ff584c0964b0455cfe9f1,8714,bat,Batchfile,backend/xampp/tomcat/bin/service.bat,DiegoCandoHsb/mgmnt,3c0a5b1ee065ca7e9c9d60f56e6cd653205b2799,['Apache-2.0'],,,,backend/xampp/tomcat/bin/service.bat,DiegoCandoHsb/mgmnt,3c0a5b1ee065ca7e9c9d60f56e6cd653205b2799,['Apache-2.0'],,,,backend/xampp/tomcat/bin/service.bat,DiegoCandoHsb/mgmnt,3c0a5b1ee065ca7e9c9d60f56e6cd653205b2799,['Apache-2.0'],,,,"@echo off
rem Licensed to the Apache Software Foundation (ASF) under one or more
rem contributor license agreements. See the NOTICE file distributed with
rem this work for additional information regarding copyright ownership.
rem The ASF licenses this file to You under the Apache License, Version 2.0
rem (the ""License""); you may not use this file except in compliance with
rem the License. You may obtain a copy of the License at
rem
rem http://www.apache.org/licenses/LICENSE-2.0
rem
rem Unless required by applicable law or agreed to in writing, software
rem distributed under the License is distributed on an ""AS IS"" BASIS,
rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rem See the License for the specific language governing permissions and
rem limitations under the License.
rem ---------------------------------------------------------------------------
rem NT Service Install/Uninstall script
rem
rem Usage: service.bat install/remove [service_name [--rename]] [--user username]
rem
rem Options
rem install Install the service using default settings.
rem remove Remove the service from the system.
rem
rem service_name (optional) The name to use for the service. If not specified,
rem Tomcat8 is used as the service name.
rem
rem --rename (optional) Rename tomcat8.exe and tomcat8w.exe to match
rem the non-default service name.
rem
rem username (optional) The name of the OS user to use to install/remove
rem the service (not the name of the OS user the
rem service will run as). If not specified, the current
rem user is used.
rem ---------------------------------------------------------------------------
setlocal
set ""SELF=%~dp0%service.bat""
set DEFAULT_SERVICE_NAME=Tomcat8
set SERVICE_NAME=%DEFAULT_SERVICE_NAME%
set ""CURRENT_DIR=%cd%""
rem Parse the arguments
if ""x%1x"" == ""xx"" goto displayUsage
set SERVICE_CMD=%1
shift
if ""x%1x"" == ""xx"" goto checkEnv
:checkUser
if ""x%1x"" == ""x/userx"" goto runAsUser
if ""x%1x"" == ""x--userx"" goto runAsUser
set SERVICE_NAME=%1
shift
if ""x%1x"" == ""xx"" goto checkEnv
if ""x%1x"" == ""x--renamex"" (
set RENAME=%1
shift
)
if ""x%1x"" == ""xx"" goto checkEnv
goto checkUser
:runAsUser
shift
if ""x%1x"" == ""xx"" goto displayUsage
set SERVICE_USER=%1
shift
runas /env /savecred /user:%SERVICE_USER% ""%COMSPEC% /K \""%SELF%\"" %SERVICE_CMD% %SERVICE_NAME%""
exit /b 0
rem Check the environment
:checkEnv
rem Guess CATALINA_HOME if not defined
if not ""%CATALINA_HOME%"" == """" goto gotHome
set ""CATALINA_HOME=%cd%""
if exist ""%CATALINA_HOME%\bin\%DEFAULT_SERVICE_NAME%.exe"" goto gotHome
if exist ""%CATALINA_HOME%\bin\%SERVICE_NAME%.exe"" goto gotHome
rem CD to the upper dir
cd ..
set ""CATALINA_HOME=%cd%""
:gotHome
if exist ""%CATALINA_HOME%\bin\%DEFAULT_SERVICE_NAME%.exe"" (
set ""EXECUTABLE=%CATALINA_HOME%\bin\%DEFAULT_SERVICE_NAME%.exe""