批处理文件的妙用

利用批处理文件启动和停止Oracle服务

 

启动oracle服务:

@echo off
net start OracleCSService
net start OracleJobSchedulerZHPT
net start OracleOraDb10g_home1iSQL*Plus
net start OracleOraDb10g_home1TNSListener
net start OracleServiceZHPT

 

停止oracle服务:

@echo off
net stop OracleCSService
net stop OracleJobSchedulerZHPT
net stop OracleOraDb10g_home1iSQL*Plus
net stop OracleOraDb10g_home1TNSListener
net stop OracleServiceZHPT
 

你可能感兴趣的:(批处理)