How can I have a .bat run on startup in the background [closed]
Solution 1:
Considering your latest comment on your initial post, the reason for your question sounds malicious. Having a miner running on a PC where it is not especially permitted may be in conflict with local law and/or library authorities. On top it will greatly impact it's performance as well as increase power consumption, which you're using to generate personal profit from.
That said, this is malicious intent, which is why this question should be closed by a moderator.