Results 1 to 7 of 7
  1. #1
    Right Off the Assembly Line
    Join Date
    Dec 2004
    Location
    New Delhi, India
    Posts
    40

    Default Batching Services

    Hi All

    I am using Oracle 9i Enterprise Edition for a project I have to submit in college. Oravle 9i runs on the system in the form of some 5-6 services. As these are resource heavy and I dont have much resources to feed them, I have set these settings to "manual" instead of the default "automatic". And, everytime I have to work with Oracle, I have to manually start all of these services. Isn't there a way to start all of these files just by one click, say, in a batch file(*.bat) and similarly stop all of them.

    What should i do?
    Kinshuk
    (o_0)
    confused yet acting smartest of alll....

  2. #2
    Right Off the Assembly Line
    Join Date
    Dec 2004
    Location
    New Delhi, India
    Posts
    40

    Default Pls Help

    Are bhai logo, koi to madad karo yaar....
    (o_0)
    confused yet acting smartest of alll....

  3. #3
    Wise Old Owl alib_i's Avatar
    Join Date
    Jun 2004
    Location
    omnipresent
    Posts
    1,191

    Default

    sorry .. i overlooked it some time ago ..

    all the following is true for winxp

    the command for starting a service is sc
    so
    sc start servicename will start a service
    and
    sc stop servicename will stop the service

    the only thing to note here is that servicename may not exactly be the name of service which you see in 'services.msc'
    ex. common name of ZoneAlarm service = "true vector internet monitor"
    and keyname = "vsmon"
    hence, to deal with this problem ... goto start->run->cmd
    here type sc getkeyname "common name"
    ex sc getkeyname "truevector internet monitor"
    note down the name you get .. this name is your servicename

    now make a batch file ..
    write one command in one line
    sc stop vsmon
    sc stop servicename1
    sc stop servicename2
    sc stop servicename3
    sc stop servicename4
    ....


    I think i made it all clear....
    post if have problems ..

    ------
    alibi
    What I've felt, What I've known; Never shined through in what I've shown
    Never free, Never me; So I dub thee unforgiven
    -Metallica

  4. #4
    Right Off the Assembly Line
    Join Date
    Dec 2004
    Location
    New Delhi, India
    Posts
    40

    Default Thanks

    Thanks

    I'll try the solution and let you know.

    Thanks again.

    Kinshuk
    (o_0)
    confused yet acting smartest of alll....

  5. #5
    Wise Old Owl alib_i's Avatar
    Join Date
    Jun 2004
    Location
    omnipresent
    Posts
    1,191

    Default

    just remember that all that i wrote is valid in WinXP
    i dont know if it will work anywhere else or not ..
    i have winxp and i've tried it .. it works

    -----
    alibi
    What I've felt, What I've known; Never shined through in what I've shown
    Never free, Never me; So I dub thee unforgiven
    -Metallica

  6. #6
    Right Off the Assembly Line
    Join Date
    Dec 2004
    Location
    New Delhi, India
    Posts
    40

    Default Worx!!!!!!!!!!1

    Hi All

    Thanx a lot for the Help, buddy

    it really WORX!!!!!!!!!!!!!!!!!!

    and i asked a friend of mine to see whether it works on other OSes too ('cuz I use only XP) and he confirmed so for NT (though I dont believe him much)

    Thanx again
    Kinshuk
    (o_0)
    confused yet acting smartest of alll....

  7. #7
    Wise Old Owl alib_i's Avatar
    Join Date
    Jun 2004
    Location
    omnipresent
    Posts
    1,191

    Default

    anytime man ..

    -----
    alibi
    What I've felt, What I've known; Never shined through in what I've shown
    Never free, Never me; So I dub thee unforgiven
    -Metallica

Similar Threads

  1. services.exe
    By yrakesh78 in forum QnA (read only)
    Replies: 2
    Last Post: 31-08-2007, 10:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Close