mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-02 02:25:54 +02: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:
parent
b4bcdc8a92
commit
7ef93611e4
|
@ -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\"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user