控制Oracle服务的相关Windows命令行指令
@echo off
rem sc config OracleOracle10gTNSListener start= demand
rem sc config OracleOracle10giSQL*plus start= demand
sc config OracleServiceCINNO start= demand
sc config OracleDBConsolecinno start= demand
pause
@echo off
rem sc start OracleOracle10giSQL*plus
rem sc start OracleDBConsolecinno
sc start OracleOracle10gTNSListener
sc start OracleServiceCINNO
pause
@echo off
rem sc stop OracleDBConsolecinno
rem sc stop OracleOracle10giSQL*plus
sc stop OracleServiceCINNO
sc stop OracleOracle10gTNSListener
pause