创建txt文档,粘贴下面代码
Oracle服务启动 %启动Oracle的服务% @echo.服务启动...... @echo off net start OracleVssWriterORCL net start OracleDBConsoleorcl net start OracleOraDb11g_home1TNSListener net start OracleServiceORCL @echo.启动完毕! @echo off sc config MSiSCSI start= auto net start "Microsoft iSCSI Initiator Service" pause
保存,该文件后缀为.bat文件,以管理员身份运行,即可