Updated Windows batch file to pass arguments to python script...
authorWarrentheo <redacted>
Mon, 9 Aug 2021 20:17:35 +0000 (14:17 -0600)
committerGitHub <redacted>
Mon, 9 Aug 2021 20:17:35 +0000 (14:17 -0600)
Updated Windows batch file to pass arguments to python script...

updateHostsWindows.bat

index de17bf2b42a892fdce2b04a33d87dd52ae0e7169..3b14343f096b40201ebaa574ad6f2d193eeeb2c5 100644 (file)
@@ -49,7 +49,7 @@ if not exist "%WINDIR%\System32\drivers\etc\hosts.skel" (
 
 :UpdateHosts
 :: Update hosts file
-py updateHostsFile.py --auto --minimise
+py updateHostsFile.py --auto --minimise %*
 
 :: Copy over the new hosts file in-place
 copy /y /v hosts "%WINDIR%\System32\drivers\etc\"
git clone https://git.99rst.org/PROJECT