Author

Topic: Hidden claymore .bat file (Read 235 times)

DrG
legendary
Activity: 2086
Merit: 1035
November 02, 2020, 03:08:22 AM
#4
It's relatively easy to write. Google for hiding command prompt visual basic and you should see some example you can copy paste into the bat.

DO NOT google for apps to hide a bat file - that's a sure fire way to get malware onto your PC. I searched for that once when I needed to run an auto mouse clicker without it being in the way when ALT-tabbing and the amount of dangerous sites in google search was insane.
legendary
Activity: 3808
Merit: 1723
November 02, 2020, 12:02:21 AM
#3
Cheers

So i wanted my claymore .bat file to start om Windows 10
But not just start. Also start hidden.
What do I have to write into the .bat file?
And the just place IT in the startup Line with other programs correct?
And how do i hey IT to show when its hidden. If i want to see status in the miner.  

Or Better to find another miner?

Kind regards

Basically follow what the guy above me has posted. If its too advanced for you there are some small apps you can download called "Hide Window" or something similar which is a GUI that can hide the window for you. Some programs might even do it automatically on every restart.

The easiest way to check if its mining is just go to the remote terminal in your browser. Claymore by default has remote monitoring enabled on port 3333 so all you need to do is go to 127.0.0.1:3333 and it should load right up. If there is a password then change it in your command file.  If you want to stop mining then just log out as a user and it should automatically stop mining.
legendary
Activity: 2296
Merit: 1031
November 01, 2020, 01:24:14 AM
#2
First try this with a .vbs file/script

Code:
Set WshShell = WScript.CreateObject("WScript.Shell")
Do
WshShell.Run "C:\\ccminer.exe -r 0 -t 3 -a skein -o stratum+tcp://hub.miningpoolhub.com:12656 -u user.worker -p x", 0 & Chr(13) & Chr(10)
Loop

of course, update .exe and -flags for your situation above

You can do more assembled with visual basic.  in addition to your bat file, setup a visual basic script file.  So for example, make your hidden.vbs file with this code

Code:
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False

Or, this may work better if the above doesn't work for passing various additional parts of the bat file

Code:
CreateObject("Wscript.Shell").Run "" & WScript.Arguments(0) & "", 0, False

and then do this bat file to run your bat file for claymore so it is hidden

Code:
wscript.exe "C:\Wherever\invisible.vbs" "C:\Some Other Place\MyBatchFile.bat"

You can look in your processes in Task Manager to see it running.  If you are mining to a pool you can also see the status of the miner there. 
newbie
Activity: 25
Merit: 0
October 31, 2020, 08:09:20 AM
#1
Cheers

So i wanted my claymore .bat file to start om Windows 10
But not just start. Also start hidden.
What do I have to write into the .bat file?
And the just place IT in the startup Line with other programs correct?
And how do i hey IT to show when its hidden. If i want to see status in the miner.  

Or Better to find another miner?

Kind regards
Jump to: