mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-07-01 02:36:52 +00:00
Updated Windows batch file to pass arguments to python script...
Updated Windows batch file to pass arguments to python script...
This commit is contained in:
@@ -49,7 +49,7 @@ if not exist "%WINDIR%\System32\drivers\etc\hosts.skel" (
|
|||||||
|
|
||||||
:UpdateHosts
|
:UpdateHosts
|
||||||
:: Update hosts file
|
:: Update hosts file
|
||||||
py updateHostsFile.py --auto --minimise
|
py updateHostsFile.py --auto --minimise %*
|
||||||
|
|
||||||
:: Copy over the new hosts file in-place
|
:: Copy over the new hosts file in-place
|
||||||
copy /y /v hosts "%WINDIR%\System32\drivers\etc\"
|
copy /y /v hosts "%WINDIR%\System32\drivers\etc\"
|
||||||
|
|||||||
Reference in New Issue
Block a user