BAT files: change PATH for lookin DLL file check
authorTomasz Przybył <redacted>
Fri, 16 Dec 2016 10:34:13 +0000 (11:34 +0100)
committerTomasz Przybył <redacted>
Fri, 16 Dec 2016 10:34:13 +0000 (11:34 +0100)
makeHostsWindows.bat
updateHostsWindows.bat

index 137aa4d745abf927814dd9f1510e784cbd0a1af5..f5816d5d2fb48003f6c28f044760136cad63fe59 100644 (file)
@@ -9,7 +9,7 @@ if not exist "%WINDIR%\py.exe" (
        GOTO PY35RT
  )
 :PY35RT
-if not exist "%PROGRAMFILES%\python35\Python35.dll" (
+if not exist "%LOCALAPPDATA%\Programs\Python\Python35\Python35.dll" (
        ECHO :: ERROR :: Python 3.5 Runtime NOT FOUND...
        ECHO :: ERROR :: Download and install lastest Python 3.5 for Windows from https://www.python.org/downloads/
        ECHO :: ERROR :: Exit...
index 315db35d34e4849e4f3ad1a4877da0d9f63d9ff4..5151a6b5e301b69b84790c1d26af33facbf28f9c 100644 (file)
@@ -13,7 +13,7 @@ if not exist "%WINDIR%\py.exe" (
        GOTO PY35RT
  )
 :PY35RT
-if not exist "%PROGRAMFILES%\python35\Python35.dll" (
+if not exist "%LOCALAPPDATA%\Programs\Python\Python35\Python35.dll" (
        ECHO :: ERROR :: Python 3.5 Runtime NOT FOUND...
        ECHO :: ERROR :: Download and install lastest Python 3.5 for Windows from https://www.python.org/downloads/
        ECHO :: ERROR :: Exit...
git clone https://git.99rst.org/PROJECT