bitcoin-miner -t 4 -v -o http://127.0.0.1:8332 -u username -p password
For pool:
bitcoin-miner -t 4 -v -o http://mining.url.something:8332 -u user.worker -p password
The -t 4 specifies the number of threads to run. If your CPU has 4 threads of execution on it, you can omit this and get the same result.
If your batch file is in the same directory as bitcoin-miner.exe, you can leave out the directory in front of the command. Otherwise, you'll need to put the full path in.
Thanks, got solo working, but still not the pool one. Tripled my hash speed compared to other cpu miners. Went from 6 to 18 mhash/s (Q9550 oced from 2.8 to 3.4ghz).
I get around 12-13mash on stock 2.8ghz
what pool are you trying to use? i think you're probably tripping on some parameter, either the url or the username and password.
slushs mining.bitcoin.cz
I just set up slush's pool:
bitcoin-miner.exe -o http://mining.bitcoin.cz:8332 -u username.worker -p workerpass -v -t 4