A very simple trick for those folks with low end machines
first off I use 2 batch files for sytem intensive applications even though I have a powerhouse because I dont like to wait
I have an on and off bat
let me explain
with one bat file I kill all uneeded processes and services and run my application in high priority mode (with just the double click of one batch file)
the second one turns everything I shut off first
so how do we do it
first off you need to know what can run as a bare system minimum and still run your application the best way is trial and error with task manager unless you allready know what ones
to find out the proper names to stop the programs
bring up a console (command prompt and type
""tasklist""
this lists all your running programs
once you have identified the names you want to kill the command is
"" taskkill /IM sol.exe""
if solitaire was what your trying to kill
next not all progs can be killed this way some are services there is a seperate command for that
to find out what ones are listed and their names
type
""sc query |more"
the more command allows you to scroll through the results
the part you are looking for is like this
SERVICE_NAME: dmserver
DISPLAY_NAME: Logical Disk Manager
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN))
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
the part you want to pay attention to is
service name
to stop this the command is
sc stop dmserver
now the last step how to run in high mode
C:\Program Files\Filter Forge\Bin".
this is the path of filter forge unfortunatly it dosnt have a dos name path so how do we find out the dos name
cd c:\
dir /x
it will list long and short names
11/09/2006 09:49 PM <DIR> PROGRA~1 Program Files
01/06/2007 07:06 PM <DIR> PROGRA~2 Program Files (x86)
the second line is if you are running windows 64 bit
the part you want looks like this
PROGRA~1
so the actual path on mine is like this
c:\progra~2\FILTER~1\Bin\FILTER~1.EXE
so to run in high mode
start /high c:\progra~2\FILTER~1\Bin\FILTER~1.EXE
so the whole thing
(solitair as example)
taskkill /IM sol.exe
sc stop sol
start /high c:\progra~2\FILTER~1\Bin\FILTER~1.EXE
now the reverse bat to put everything back the way it was
start /normal sol
sc start sol
the thing about the first command is the fact that sol is path independent most of the things you will be restarting will need a path so it knows what folder to look for the executable is
I wouldnt recomend this unless you have a lower end system and its an application you use alot that is system intensive
but utilizing this method you can shut off all antivirus and uneeded servecis and set the priority of your app in one fell swoop
I use this on one of my boxes that is a lower end machine and doesnt use the internet and it works great
Big warning
if your running windows I dont recomend shutting off your antivirus or firewalls unless your behind a firewall applience but you can reset thier priority temporarily if you will not be surfning the net durring that time
lets all whine for a wine port