Batch File for Windows to start/stop Oracle Services

In a bit of a departure from my regular coding I had to write a batch file yesterday that would start/stop our Oracle 11g instance on our server. Since this was old old old school stuff it took me some tweaking but i got it done. So now I've decided to share it with the rest of the world.

Link to oracle.bat

It's pretty simple you just call oracle.bat start/stop from the command line to start or stop your oracle services. Now the service names in there are specific to our instance so you will need to rename them to the values you have installed. Also this is for one database instance with one listener running. If you have different services running you just to need to add their service name to the appropriate start/stop section. It's a good base for extending if you need it.

Comments

Anonymous said…
This file is very useful for me, thanks!
Anonymous said…
Hi!Thanks for sharing this stuff its really what I need!
sajaad said…
thanks I got what i need
MOONPIE said…
:) good. I already have one...
Anonymous said…
thanks a ton, very helpful
Anonymous said…
Thank you, very usefull
H.W.

Popular posts from this blog

String.Replace vs Regex.Replace

C# Form Application in Kiosk Mode/Fullscreen

C# using a transaction with ODBC