Author

Topic: "Windows cannot find..." anything I place after poclbm.exe in my batch file (Read 3972 times)

legendary
Activity: 1855
Merit: 1016
Hi there,

I'm trying to get into bitcoin mining, but I keep running into the same problem with several different mining apps.

when using the batch file with the following line:

start /DC:\Program_Files_(x86)\Bitcoin\python\poclbm.exe -d1 --host=deepbit.net --port=8332 --
[email protected] --pass=*********


I get the following:

Windows cannot find '-d1' Make sure you typed the name correctly and try again.


Can anyone help with this?  I haven't been able to find anyone with the same issue.

Thanks,

Daniel

Win7 Home
i5 M 480 @ 2.67Ghz
Nvidia GEForce GT 420M 1Gig

I think windows dont allow start. not sure. i got error when i first started mining, then i created bat file with this line only & everything is fine
C:\Users\Administrator\Desktop\poclbm_py2exe_20110222\poclbm.exe -d0 --host=mining.bitcoin.cz --port=8332 --user=xxxxxxxxxxxxxx --pass=xxxxxxxxxx

I think u have only ONE graphics card/chip & thats will be d0 or u may have to add second monitor to second card.

u can also try new GUI, here http://bitcointalk.org/index.php?topic=3878.0;all
legendary
Activity: 1284
Merit: 1001
Or just make a shortcut to the exe file and add the parameters you need in properties.
sr. member
Activity: 406
Merit: 250
when using the batch file with the following line:

start /DC:\Program_Files_(x86)\Bitcoin\python\poclbm.exe -d1 --host=deepbit.net --port=8332 [email protected] --pass=*********

Use this line instead:
Code:
start /DC:\Program_Files_(x86)\Bitcoin\python poclbm.exe -d1 --host=deepbit.net --port=8332 [email protected] --pass=*********

Notice that I took out the last slash between python and poclbm.exe. The /D command is telling the start command what the "working directory" should be. The parameter after that is the application name that should be run.

I'm not sure about your Program_Files_(x86), though. If your directory actually has spaces instead of underscores, then do this:
Code:
start /D"C:\Program Files (x86)\Bitcoin\python" poclbm.exe -d1 --host=deepbit.net --port=8332 [email protected] --pass=*********
full member
Activity: 193
Merit: 100
Just put the batch file in the same folder as the miner, then use a shortcut to the batch file. That way you avoid dealing with paths.
hero member
Activity: 644
Merit: 503
Hi there,

I'm trying to get into bitcoin mining, but I keep running into the same problem with several different mining apps.

when using the batch file with the following line:

start /DC:\Program_Files_(x86)\Bitcoin\python\poclbm.exe -d1 --host=deepbit.net --port=8332 --
[email protected] --pass=*********


I get the following:

Windows cannot find '-d1' Make sure you typed the name correctly and try again.


Can anyone help with this?  I haven't been able to find anyone with the same issue.

Thanks,

Daniel

Win7 Home
i5 M 480 @ 2.67Ghz
Nvidia GEForce GT 420M 1Gig

Just a guess, but how does Windows/DOS know when the file path ends? Maybe that's the problem? Try putting double-quotes ("s) around the path:

start /D "C:\Program Files (x86)\Bitcoin\python\poclbm.exe" -d1 --host=deepbit.net --port=8332 --
[email protected] --pass=*********

(Also, there was a space missing between "/D" and "C:\" - I presume that was a typo?)

(Edit: replaced underscores with spaces).
newbie
Activity: 1
Merit: 0
Hi there,

I'm trying to get into bitcoin mining, but I keep running into the same problem with several different mining apps.

when using the batch file with the following line:

start /DC:\Program_Files_(x86)\Bitcoin\python\poclbm.exe -d1 --host=deepbit.net --port=8332 --
[email protected] --pass=*********


I get the following:

Windows cannot find '-d1' Make sure you typed the name correctly and try again.


Can anyone help with this?  I haven't been able to find anyone with the same issue.

Thanks,

Daniel

Win7 Home
i5 M 480 @ 2.67Ghz
Nvidia GEForce GT 420M 1Gig
Jump to: