To add Static route in windows follow three simple steps are required-
- Open Command Prompt with administrative access.
- Use “route print” to check the routing
route print

3. To add a static route in Windows use below syntax.
route ADD destination_network MASK subnet_mask gateway_ip metric_cost
route ADD 192.168.35.0 MASK 255.255.255.0 192.168.0.2

The subnet_mask
and metric_cost
components are optional to the command. once you add a static route in windows, you can use command route print to view the routing in windows.
To delete a static route from windows use below commands
route delete destination_network
To delete the route with the destination network 192.168.35.0, all we’d have to do is type this command and hit Enter:
route delete 192.168.35.0