Enable usb debugging on your phone from Settings > Developer options
Open extracted rooting package in Windows Explorer and right click on the folder name while pressing shift button and select "Open command window here". Alternatively, you can double click the run.bat in Windows Explorer window.
Type run or run.bat to run the batch file
Connect your phone if not already connected
Batch script will push the exploit into your phone and install superuser.
When the process completes, press enter and reboot the phone.