Bitcoin Forum
January 22, 2021, 10:54:41 AM *
News: Latest Bitcoin Core release: 0.21.0 [Torrent]
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
Author Topic: Can i run cgminer in the background? no window?  (Read 17216 times)
Offline Offline

Activity: 22
Merit: 0

View Profile WWW
November 28, 2013, 03:40:52 PM
Last edit: November 28, 2013, 03:51:49 PM by c0rrupt

Ok it work, but it must be different, just make .txt file with this
Set WshShell = CreateObject("WScript.Shell" )
WshShell.Run chr(34) & "C:\cgminer\cgminer.exe" & Chr(34), 0
Set WshShell = Nothing
replace your cgminer.exe path, save, rename .txt to .vbs and done.

This works, but when you want start it with windows, you must put it to start up menu (right click open for all, when for all users).

But when I try to run it through registry or task sheduler, it wont work. When some one solve it, how to run it wia task sheduler as admin or something like this, so cgminer will run hidden, after login any user, it will run after log off or it start with system let me know. BTW when I test it with task sheduler, he run script, cgminer start and then close immediately.
Sorry for my english.
Pages: « 1 [2]  All
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!