cmd命令啓動Oracle服務

編寫啓動Oralce服務的命令行

startOracleService.bat

@echo off

echo Confirm starting the Oracle 11g Service ?

pause

net start "OracleOraDb11g_home1TNSListener"

net start "OracleServiceORCL"

echo Starting Oracle 11g service completion,Please make sure there is no error

Pause

右鍵管理員打開startOracleService.bat,回車

編寫關閉Oracle服務的命令行

closeOracleService.bat

@echo off

echo Confirm stoping the Oracle 11g Service?

pause

net stop "OracleServiceORCL"

net stop "OracleOraDb11g_home1TNSListener"

echo Stoping Oracle 11g service completion,Please make sure there is no error

Pause

右鍵管理員打開closeOracleService.bat,回車

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章