To solve the problem I found a program(refreshlock) which force
applications to use the desired refresh rate for every resolution.
The only trouble is that I have to remember to run the program before
the game, so I thought of using a bat file:
"C:\refreshlock\refreshlock.exe"
"C:\Program Files (x86)\KONAMI\Pro Evolution Soccer 2008\PES2008.exe"
But this won't work: how can I run the first executable in background so
that the game will start after launching refreshlock.exe?
I tried adding "start" before the first executable, but it didn't work
either.
I think I need something similar to this(Linux):
http://www.hcidata.info/background-job.htm
Is there something similar in the command prompt?
Thanks.
>The only trouble is that I have to remember to run the program before
>the game, so I thought of using a bat file:
Try this: Win9x/me doesn't need the ""
@echo off
start "" "C:\refreshlock\refreshlock.exe"
start "" "C:\Program Files (x86)\KONAMI\Pro Evolution Soccer 2008\PES2008.exe"
It works! :-)
But what do those quotation marks do?
Thanks, very helpful!
> It works! :-)
> But what do those quotation marks do?
START /?
http://www.netikka.net/tsneti/info/tscmd036.htm
All the best, Timo
--
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance ; University of Vaasa
mailto:t...@uwasa.fi <http://www.uwasa.fi/~ts/> ; FI-65101, Finland
Useful CMD script tricks http://www.netikka.net/tsneti/info/tscmd.htm
Thanks.
And if I want to close refreshlock.exe automatically(when I quit Pes),
how could I do?
> And if I want to close refreshlock.exe automatically(when I quit Pes),
> how could I do?
I have to use taskkill, sorry :-)
This is what I came up with:
@echo off
start "" "C:\refreshlock\refreshlock.exe"
"C:\Program Files (x86)\KONAMI\Pro Evolution Soccer 2008\PES2008.exe"
taskkill /T /F /im refreshlock.exe
It seems to work perfectly, but every suggestion is welcome.