CODE: [Copy to clipboard]
@echo off
call :quiet>nul 2>&1
goto :EOF
:quiet
%systemroot%\system32\sc.exe config OracleServiceORCL start= DEMAND
%systemroot%\system32\sc.exe start OracleServiceORCL
%systemroot%\system32\sc.exe config OracleOraDb10g_home1TNSListener start= DEMAND
%systemroot%\system32\sc.exe start OracleOraDb10g_home1TNSListener
%systemroot%\system32\sc.exe config OracleOraDb10g_home1iSQL*Plus start= DEMAND
%systemroot%\system32\sc.exe start OracleOraDb10g_home1iSQL*Plus
%systemroot%\system32\sc.exe config OracleDBConsoleorcl start= DEMAND
%systemroot%\system32\sc.exe start OracleDBConsoleorcl
rem 3800+需要90秒才能启动完OracleDBConsoleorcl服务
rem %systemroot%\system32\ping.exe -n 90 127.0.0.1>nul
%systemroot%\system32\sc.exe config OracleCSService start= DEMAND
%systemroot%\system32\sc.exe start OracleCSService
具体查看sc /?