手动在控制面板开启Oracle服务很麻烦,可以通过执行批处理文件解决这个问题
把以下的代码分别保存为x.bat文件,然后双击直接执行就oK
OracleStart.bat
@echo off net start OracleServiceORCL net start OracleDBConsoleorcl net start OracleOraDb10g_home1TNSListener net start OracleOraDb10g_home1iSQL*Plus pause
OracleStop.bat
@echo off net stop OracleServiceORCL net stop OracleDBConsoleorcl net stop OracleOraDb10g_home1TNSListener net stop Oracle OracleOraDb10g_home1iSQL*Plus pause