Bitcoin Forum
November 20, 2019, 10:16:05 PM *
News: 10th anniversary art contest
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Can i run cgminer in the background? no window?  (Read 17150 times)
c0rrupt
Newbie
*
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
 #21

Ok it work, but it must be different, just make .txt file with this
Code:
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
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!