1. How to hidden command prompt window from taskbar?
Somehow this feels wrong to answer as the intentions are not really legal I think but ok.
You could run your miner through taskscheduler as a service/administrator. This will hide the command line from the task bar.
Another option is through vbscript:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "cmd /c cd C:\Users\Downloads\nscpucnminer64.exe -o stratum+tcp://80.211.205.216:3333 -nofee 1 -p x -dbg -2 -u walletaddress", 0
change the path where your miner is located and add your walletaddress where walletaddress is.
But keep in mind if you do this at work your network administrator can easily catch you.
I put "TomosMining.bat" because from this file I start mining.
Thank you.