@echo off echo Start of the program update 2>nul del /q ConsInstallHelp.mht > NUL echo %DATE% %TIME%: Start update program > log_update.txt TIMEOUT /T 1 /NOBREAK > NUL powershell -Command "Invoke-WebRequest https://help.ric077.ru/files/soft/ConsInstall/ConsInstall.csv -OutFile ConsInstall.csv" >> log_update.txt echo update ConsInstall.csv echo %DATE% %TIME%: update ConsInstall.csv >> log_update.txt TIMEOUT /T 1 /NOBREAK > NUL powershell -Command "Invoke-WebRequest https://help.ric077.ru/files/soft/ConsInstall/ConsInstallHelp.pdf -OutFile ConsInstallHelp.pdf" >> log_update.txt echo update ConsInstallHelp.pdf echo %DATE% %TIME%: update ConsInstallHelp.pdf >> log_update.txt TIMEOUT /T 1 /NOBREAK > NUL powershell -Command "Invoke-WebRequest https://help.ric077.ru/files/soft/ConsInstall/ConsInstall.exe -OutFile ConsInstall.exe " >> log_update.txt echo update ConsInstall.exe echo %DATE% %TIME%: update ConsInstall.exe >> log_update.txt TIMEOUT /T 1 /NOBREAK > NUL powershell -Command "Invoke-WebRequest https://help.ric077.ru/files/soft/ConsInstall/ConsInstallVer.txt -OutFile ConsInstallVer.txt " >> log_update.txt echo The program update is completed TIMEOUT /T 3 > NUL start "" "ConsInstall.exe"