Bitcoin Forum
May 28, 2024, 06:08:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: parsing .cmd or .bat files (Windows Claymore dual eth+pasc)  (Read 772 times)
shimpa (OP)
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
March 03, 2017, 09:31:24 AM
 #1

hi folks,

Do any of you have this interesting issue I've been having lately?

I've been running dual ethereum + pascal and I've set the command into a .bat or .cmd file but when I run it, the interpreter never parses the portion of the file where the pascal config is.

If I copy the contents of the file and paste it directly into the terminal window, it works as a charm but if I wanna just double click the file it just runs the ethereum mining part.

One of the .cmd files:
Code:
EthDcrMiner64.exe -epool us1.ethpool.org:3333 -ewal 0x607Fb81A18A4c5358f2Cf8f29Ef7C29fF7206b24
.miner96 -epsw x -esm 0 -allpools 1 -estale 0 -dpool stratum+tcp://pascal.eu.nicehash.com:3358 -dwal 1FgBQADp3v17B3ShC3nH5m3dA3ZsmXDo34
.miner96 -mode 0 -dcoin pasc

It's not that big of a deal, was just wondering why was that and googling didn't come up with any results

cheers
CryptoWatcher420
Sr. Member
****
Offline Offline

Activity: 462
Merit: 258

Small Time Miner, Rig Builder, Crypto Trader


View Profile
March 03, 2017, 09:55:54 AM
 #2

has to be all on one single line, not multiple lines like you have, anything past the first line the miner doesn't pick up. honestly its clear you did not read the readme that comes with claymores dual miner it does give multiple examples there

6pin to EPS 12v 4+4pin w/pigtail & 2.5mm barrel plug for Pico Psu for SERVER PSU ONLY GPU MINING RIGS! | Donations: BTC-  | Join Me on Discord! https://discord.gg/VDwWFcK
shimpa (OP)
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
March 03, 2017, 10:57:25 AM
 #3

it is in a single line, this site's code parser seems to break it down into multiple lines after every dot. I did read it friend.
CryptoWatcher420
Sr. Member
****
Offline Offline

Activity: 462
Merit: 258

Small Time Miner, Rig Builder, Crypto Trader


View Profile
March 03, 2017, 11:22:54 AM
 #4

hi folks,

Do any of you have this interesting issue I've been having lately?

I've been running dual ethereum + pascal and I've set the command into a .bat or .cmd file but when I run it, the interpreter never parses the portion of the file where the pascal config is.

If I copy the contents of the file and paste it directly into the terminal window, it works as a charm but if I wanna just double click the file it just runs the ethereum mining part.

One of the .cmd files:
Code:
EthDcrMiner64.exe -epool us1.ethpool.org:3333 -ewal 0x607Fb81A18A4c5358f2Cf8f29Ef7C29fF7206b24
.miner96 -epsw x -esm 0 -allpools 1 -estale 0 -dpool stratum+tcp://pascal.eu.nicehash.com:3358 -dwal 1FgBQADp3v17B3ShC3nH5m3dA3ZsmXDo34
.miner96 -mode 0 -dcoin pasc

It's not that big of a deal, was just wondering why was that and googling didn't come up with any results

cheers

doesn't contain .miner96 in there does it? just have to ask. if anything try on a pool that you don't need to use allpools 1. either that put all that in the config file not the command line, make sure you remove all but ethdcrminer64.exe, actually you can just run ethdcrminer64.exe after filling in the stuff in the config file

6pin to EPS 12v 4+4pin w/pigtail & 2.5mm barrel plug for Pico Psu for SERVER PSU ONLY GPU MINING RIGS! | Donations: BTC-  | Join Me on Discord! https://discord.gg/VDwWFcK
shimpa (OP)
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
March 03, 2017, 11:27:13 AM
 #5

actually you were right the first time around. Notepad actually did break it down into lines by itself and it doesn't show it. Opened it with sublime and there it's visible. Fixed and works.

thanks a lot
m1n1ngP4d4w4n
Full Member
***
Offline Offline

Activity: 224
Merit: 100

CryptoLearner


View Profile
March 03, 2017, 05:23:34 PM
 #6

Rule of thumbs, never, EVER use the basic notepad to do scripting, it sux big time, prefer an enhanced text editor like notepad++ or the one your used. Good luck Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!