A typical batch script for this purpose includes these commands:
Follow these sequential steps to safely build, audit, and deploy the batch script on a local workstation: Step 1: Create the Source Code Document How to: Block websites using the Hosts file | Windows 10 easeus hosts blocker.bat