Starting services

  • Thread starter Thread starter Lester Horwinkle
  • Start date Start date
L

Lester Horwinkle

I have Oracle v9 installed on Win XP Home. Works fine.

Default installation was such that the two key services (Oracle database
engine and TNS Listener) are started automatically. I've changed that to
"manual", since I don't need the database running all the time. I just start
the services when needed.

Here's my wish: It's a pain to open the Computer Management screen, select
the Services "folder", scroll down to the two services in question, and
start them up.

I really want to just click a shortcut to do that. (Such was the case under
Win 98, before MS gave us NT/2000 style "services".)

Surely there must be a way. Perhaps there's a VB scripting solution???
 
Lester, I think you could write a batch file to do this.

Open a CMD prompt and type "Net Start" (once you have the services running).
Write down the exact service(s) name and then create a batch file that
starts the services. Create a shortcut on your desktop pointing to your
batch. Hope this helps...

Here's an example:

@Echo Off
Cls
Net Start "Service Name1"
Net Start "Service Name2"
Exit
 
That did it. Thanks.

Jim Davie said:
Lester, I think you could write a batch file to do this.

Open a CMD prompt and type "Net Start" (once you have the services running).
Write down the exact service(s) name and then create a batch file that
starts the services. Create a shortcut on your desktop pointing to your
batch. Hope this helps...

Here's an example:

@Echo Off
Cls
Net Start "Service Name1"
Net Start "Service Name2"
Exit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top