As stated above, you should use a mining software for mining, CUDAminer for Nvidia, CGminer for radeons. CPUminer is self-explanatory.
download what you're going to use, then create .dat file in the folder with the .exe file and type this in:
For cgminer
/cgminer --scrypt -o stratum+tcp://pool adress -u Weblogin.Worker -p Worker password
For cudaminer
cudaminer.exe -o stratum+tcp://pool adress -O username.workername:workerpassword
Save it and then just run the .dat file and it starts mining in the pool.
I think you meant .bat file.
I don't have graphics card on this one, some Intel accelerator so I guess I have to do CPU mining.
I'm done with syncing, have been trying cgminer but it closes itself inside a second. This is what I wrote in batch file of cgminer.
/cgminer --scrypt -o stratum+tcp://www.dogecoinpool.com:3333 -u usernameonwebsite.workerIcreated -p workerpass
Is there anything wrong in this? Thanks!