15 Commits

Author SHA1 Message Date
11f8e20042 Minor whitespace/line endings consistency changes 2024-04-03 17:00:58 +03:00
258b10edc9 refactor: more containerization 2022-07-05 12:39:02 -04:00
7ef93611e4 Updated Windows batch file to pass arguments to python script...
Updated Windows batch file to pass arguments to python script...
2021-08-09 14:17:35 -06:00
7c1365787b updateHostsWindows.bat: fix python exe cmd
Python for Windows using py.exe launcher command and should be used here as well.
2020-09-30 16:27:01 +02:00
229b3593cf updateHostsWindows.bat: minor consistency changes
* fix a few typos
* fix indentation
* lowercase commands since on Windows case doesn't matter
* add `/y /v` flags in copy commands
* remove unneeded `pushd` command since we `cd` after that anyway
* add `wscript.exe` when calling the .vbs script
2020-02-23 13:07:33 +02:00
5945a559cd updateHostsWindows.bat :: refactoring, fixed
- based on https://stackoverflow.com/a/10052222
- additional flags --auto --minimise (purged useless comments in final file = smaller size)  used
- tested on Windows 10 x64 - works well
2019-09-04 16:44:17 +02:00
51a0ec21bd Document all functions in Python scripts 2017-05-23 21:58:22 -04:00
eed24ab456 Lift Python 3.5.x restriction on updateHostsWindows.bat 2017-05-16 13:47:54 -04:00
3aa658b7af Fix spelling error in Windows script 2017-03-19 19:39:44 -07:00
ff05417f78 Missing args (#225)
Add title to bat windows
2016-12-22 16:30:26 +01:00
8c071873d3 No need to detect Administrator privileges for XP / 2003 2016-12-22 04:25:56 +01:00
a32282b508 Force to be launched as Administrator 2016-12-22 04:20:00 +01:00
38ab381c8c BAT files: change PATH for lookin DLL file check 2016-12-16 11:34:13 +01:00
91756b3889 updateHostsWindows.bat: expand
- check if python runtime 3.5 is available on system
- update automaticaly hosts file before replace them
2016-09-03 15:52:28 +02:00
0cf8659d2e updateHostsWindows.bat: add file
This script will create in first running backup of ORIGINAL/CURRENT
hosts file in hosts.skel file if file does not exists.
If hosts.skel file exists, then NEW copy with customized unified hosts
file will be copied to proper path.
Next DNS Cache will be refreshed.
2016-06-15 14:55:59 +02:00