启动Oracle的bat文件

@echo off

::@echo 请选择启动测试服务器(t)....
@echo 正在启动本机Oracle服务器....
goto test

:start

set /p type=[t ?]

if "%type%" == "t"  goto test

if "%type%" == "s"  goto svr

goto start


:test

echo ------启动Oracle服务器---------

echo  启动监听服务...
lsnrctl start

echo  启动数据库服务...
net start OracleServiceORCL

goto end


:svr

echo -------启动Oracle服务器-------

goto end


:end
echo on
@pause

原文地址:https://www.cnblogs.com/publiter/p/13601136.html