I have created a batch file and I tried to run it. But when I click on the batch file to run it. But the command line window appears for a fraction of a second and then disappears.
cgminer.exe --gekko-2pac-freq 200 -o stratum+tcp://peercoin.ecoining.com:3336 -u username.1 -p x
===========================================================
I have tried the below in a batch file, it gives the below output in the command line
cgminer.exe -o stratum+tcp://peercoin.ecoining.com:3336 -u username.1 -p x
(I think it works)
-----------------------
[2017-12-20 20:38:18.637] Started CGI miner 4.10.0
[2017-12-20 20:38:18.637] Probing for an alive pool
[2017-12-20 20:38:18.819] Pool 0 difficulty changed to 16384
[2017-12-20 20:38:19.638] Network diff set to
============================================================
Is the issue with the script for batch file?