oralce 11G服务启动的bat程序

@echo off
echo 请选择:1.打开oracle服务,2.打开sql服务,3.关闭oracle服务,4.关闭SQL服务
set /p choice=(1,2,3,4)
IF %choice%==1 GOTO ONE
IF %choice%==2 GOTO TWO
IF %choice%==3 GOTO THREE
IF %choice%==4 GOTO FOUR
:ONE
net start OracleOraDb11g_home1TNSListener
net start OracleServiceORCL
exit
:TWO
net start MSSQL$AHXUYINGLIN
net start SQLBrowser
exit
:THREE
net stop OracleOraDb11g_home1TNSListener
net stop OracleServiceORCL
exit
:FOUR
net stop MSSQL$AHXUYINGLIN
net stop SQLBrowser
exit
来自网络,移步请至。。。

你可能感兴趣的:(oralce 11G服务启动的bat程序)