@echo off
net start OracleServiceORCL rem net start OracleDBConsoleORCL rem net start OracleOraDb10g_home1iSQL*Plus
net start OracleOraDb10g_home1TNSListener
pause
@echo off
net stop OracleServiceORCL :net stop OracleDBConsoleORCL :net stop OracleOraDb10g_home1iSQL*Plus
net stop OracleOraDb10g_home1TNSListener
pause ------解决方案-------------------- rem 是 remark,就是注释,那条语句是不执行的。