启动:
@echo off
echo 确定要启动Oracle 11g服务吗?
pause
net start "OracleOraDb11g_home3TNSListener"
net start "OracleServiceORCL"
echo 启动Oracle 11g服务完成,请确认有没有错误发生。
Pause
关闭:
@echo off
echo 确定要关闭Oracle 11g服务吗?
pause
net stop "OracleOraDb11g_home3TNSListener"
net stop "OracleServiceORCL"
echo 关闭Oracle 11g服务完成,请确认有没有错误发生。
Pause
新建文本文档,把上面内容粘贴进去,修改txt后缀为bat
如果需要启动其他服务,写进bat文件即可,修改时 打开方式为记事本 就行了