Skip to content

Commit

Permalink
Add README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
y0ti committed Jan 5, 2018
1 parent 0cdab27 commit a19ad1d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
This program converts file with list of subnets (like 172.17.9.0/24, one per line) to windows batch file with 'route add' commands.

Required parameters:
-i <file with subnets> - Input file
-if - Interface id (as listed by 'route print' command)
-gw - Gateway address
-m - Metric

Output parameters (at least one is required):
-of <output file name> - Output commands to the specified file
-oc - Output commands to console

Optional parameters:
-p - Add 'pause' after each 'route' command

0 comments on commit a19ad1d

Please # to comment.