oracle服务启动、关闭脚本(windows下)

1.建立启动脚本dbstart.cmd

@echo off
net start OracleServiceORCL
net start OracleDBConsoleoracle
net start OracleOraDb10g_home1iSQL*Plus
net start OracleOraDb10g_home1TNSListener
pause

 2.建立关闭脚本dbstop.cmd

@echo off
net stop OracleServiceORCL
net stop OracleDBConsoleoracle
net stop OracleOraDb10g_home1iSQL*Plus
net stop OracleOraDb10g_home1TNSListener
pause

 

--------------------------------------------------------------------------------------------------------------------------

注:服务名称具体看个人的配置

你可能感兴趣的:(windows)