<p>I think that you configured the batch file incorrectly. It seems as if your batch file is beginning with a call to cgminer when either </p>

<p>A) You don't even have cgminer installed, you didn't mention installing it whatsoever. Download cgminer, and relocate the batch file in the application directory.</p>

<p>B) Your batch file calls cgminer, and it can't find it. Either move the batch file to the cgminer application directory for cgminer, or go in and edit the batch file to call either 'cpuminer' or 'cudaminer' (this should be the first word in the file) depending on which .exe you want to run.</p>

CC BY-SA 3.0
2015-07-08T05:03:12.030Z
2015-07-08T05:03:12.030Z
Drew Erikson
<p>This is windows telling you it doesn't know where the <code>cudaminer</code> program is. One fix would be to move your batch file into the folder where cudaminer is located. For instance, mine is <code>C:\Users\....\Desktop\cudaminer-2013-12-10\x64</code>
(would be ...<code>\x86</code> if you are on 32 bit windows)</p>

<p>Oh, I see you are trying to use Cgminer. Fix is the same, just figure out where cgminer is located and put the batch file there.</p>

<p>Alternately, you could add the cgminer directory to Windows PATH statement, but it is probably already quite long.</p>

CC BY-SA 3.0
2013-12-11T22:01:38.363Z
2013-12-12T11:52:50.593Z
2013-12-12T11:52:50.593Z
john
<p>edit your batch file for correct info, this is mine</p>

<p>cudaminer.exe -o stratum+tcp://world.wemineltc.com:3334 -O Iron_Mafia.1:x</p>

<p>with Iron_Mafia.1 being my workers name</p>

<p>then :</p>

<p>then x being my password</p>

CC BY-SA 3.0
2013-12-11T09:13:50.177Z
2013-12-11T09:13:50.177Z
Iron
<p>I got this in the CMD :</p>

<p>cgminer.exe is not recognized as an internal or external command, operable program or batch file</p>

<p>I have downloaded cpuminer and cudaminer to mine LTC with my labtop (core i7, Nvidia GT 525 M)</p>

<p>using www.wemineltc.com  pool </p>

<p>but when I double click the .bat  file (cmd flash for a sec)  then nothing happen </p>

<p>can someone  help me please ?</p>

<p>i  have used this tutorial : <a href="https://teksyndicate.com/forum/litecoin/guide-mining-nvidia-now-guide-mining-feathercoin/137688" rel="nofollow">https://teksyndicate.com/forum/litecoin/guide-mining-nvidia-now-guide-mining-feathercoin/137688</a></p>

<litecoin><miner-configuration>
problem when start using cpuminer / cudaminer
user10171
# problem when start using cpuminer / cudaminer

(Asked by: username_0 on 2013-12-05)

I got this in the CMD :

cgminer.exe is not recognized as an internal or external command, operable program or batch file

I have downloaded cpuminer and cudaminer to mine LTC with my labtop (core i7, Nvidia GT 525 M)

using www.wemineltc.com pool

but when I double click the .bat file (cmd flash for a sec) then nothing happen

can someone help me please ?

i have used this tutorial : <https://teksyndicate.com/forum/litecoin/guide-mining-nvidia-now-guide-mining-feathercoin/137688>

**Tags:** litecoin, miner-configuration


---

## 3 answers

### Answer by username_1 on 2015-07-08. Score: 1

I think that you configured the batch file incorrectly. It seems as if your batch file is beginning with a call to cgminer when either

A) You don't even have cgminer installed, you didn't mention installing it whatsoever. Download cgminer, and relocate the batch file in the application directory.

B) Your batch file calls cgminer, and it can't find it. Either move the batch file to the cgminer application directory for cgminer, or go in and edit the batch file to call either 'cpuminer' or 'cudaminer' (this should be the first word in the file) depending on which .exe you want to run.


---

### Answer by username_2 on 2013-12-11. Score: 0

This is windows telling you it doesn't know where the `cudaminer` program is. One fix would be to move your batch file into the folder where cudaminer is located. For instance, mine is `C:\Users\....\Desktop\cudaminer-2013-12-10\x64`
(would be ...`\x86` if you are on 32 bit windows)

Oh, I see you are trying to use Cgminer. Fix is the same, just figure out where cgminer is located and put the batch file there.

Alternately, you could add the cgminer directory to Windows PATH statement, but it is probably already quite long.


---

### Answer by username_3 on 2013-12-11. Score: 0

edit your batch file for correct info, this is mine

cudaminer.exe -o stratum+tcp://world.wemineltc.com:3334 -O username_3\_Mafia.1:x

with username_3\_Mafia.1 being my workers name

then :

then x being my password


---

