Results 1 to 7 of 7
  1. #1
    dibbly
    Guest

    Default batch file help to stop services/apps

    hi all,

    well i have just entered the realm of gaming!!! only thing is i aint getting alot of work done, but having a heap of fun!! and plenty of frustrations !!

    anyway, I am now back to playing on my laptop after using a p4 1gig monster for a week or two (ooooh i want one!!!).
    instead of having to close down all my services and firewalls an things manually, i thought i'd give batch files a go using the "netstart" command. Stopping services doesnt seem to be a problem, but i cannot get it to shut down AVG control centre or my sygate personal firewall.
    does anyone know what syntax ??? i should be using???do i need to add ".exe" at the end of the programme name??? i have tried various ways nothing seems to work.....any ideas???

    also can someone tell me if the following is poss???
    once i click on my game to open it up, can i have a batch file that will stop app's and serv's, s/saver etc and then launch the game????

    thanks dudes
    dibbly

  2. #2
    Chilling_Silence
    Guest

    Default Re: batch file help to stop services/apps

    Try:
    net service messenger stop

    And 1Ghz? Just wait til you try something 3x that speed - Video Manipulation rocks in comparison ;-)

  3. #3
    agent
    Guest

    Default Re: batch file help to stop services/apps

    Well, assuming you've got Windows XP (or 2000), right-click on the My Computer desktop icon and select 'Manage' (you'll need to have administrative privileges).

    Expand the 'Services...' group down the bottom of the groups on the left, then select the Services section itself. You should see a list of every service installed on your computer.

    Your firewall and virus scanner should both be in there somewhere, all you need to do then is double-click on their entries and find out the name of the service. Then use "net stop service name" to stop the service.

    Here are several articles about disabling system services that aren't necessary, but take heed of warnings - you could seriously inhibit your OS from working:
    http://riki-lb1.vet.ohio-state.edu/m...e_Services.htm



    Making a batch file to stop services while you are gaming is easy enough, just make an entry for every service you want to stop on a new line. However, getting a game to run a batch file for you is near impossible. It doesn't take much effort to run them separately anyway (short of using the batch file to run the game and then start every stopped service when the game exits - which is far more feasible, but only if you have one game).

  4. #4

  5. #5
    dibbly
    Guest

    Default Re: batch file help to stop services/apps

    thanks agent that worked wonderfully - have been using blackviper site as a guide to the services and tried the hardware profile thing but hate having to reboot everytime I want to play...so thats when i thought a batch file could be handy!!.
    Now, I really want to use a batch file to: stop the services etc and then [perhaps another file to start the game....i know its only a matter of a few clicks but it means that i can be doing something else while the services are stopping and the game is loading up...with my current system that can take a good 5 mins of my lunch break!!!! thats 10mins all up!!!!
    Is there anyway i can do this???? maybe another method other than batch files???
    cheers

  6. #6
    dibbly
    Guest

    Default Re: batch file help to stop services/apps

    sorry chill. p4 3.2 with gig of ram.....com[pared to what i had been using mate, this rocked for me....but i guess anything 3x would be amazing, id love to give that a whirl....dont happen to live in chch do u chill???????

  7. #7
    agent
    Guest

    Default Re: batch file help to stop services/apps

    Well, aside from delving into application programming yourself, you're quite restricted (maybe Task Scheduler?!).

    Your batch file could go like:
    Code:
    net stop messenger
    net stop w3svc
    net stop server
    C:\Program Files\EA\Battlefield\bf1942.exe
    net start messenger
    net start w3svc
    net start server
    That does the whole lot for you, including starting and stopping services, but you're restricted to launching one game with it (and it was an example, anyway). Otherwise you could develop a launcher application (a local webpage might also work) where you select what game to play.

    Whatever you do, the batch file would mean that it wouldn't start the services again until the game application had closed. I'm not sure if making your own application would do this, but it's a little past the scope of making your games run faster.

    If you really wanted to try something desperately, and you run Windows 95/98/ME, investigate GameOS GE, a replacement shell that is supposed to free up resources for games.

Similar Threads

  1. Batch file stopping services
    By Chilling_Silence in forum PressF1
    Replies: 3
    Last Post: 23-11-2004, 07:55 PM
  2. Batch file help please
    By John W in forum PressF1
    Replies: 5
    Last Post: 29-04-2004, 02:54 PM
  3. My batch file
    By Blue_face in forum PressF1
    Replies: 2
    Last Post: 15-01-2004, 11:29 PM
  4. Help with a batch file
    By Caesius in forum PressF1
    Replies: 6
    Last Post: 10-07-2003, 04:35 PM
  5. Replies: 2
    Last Post: 03-03-2002, 10:31 PM

Posting Permissions

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