Новый участник
Сообщения: 6
Благодарности: 0
|
Профиль
|
Отправить PM
| Цитировать
@echo off
if EXIST \client.exe (taskkill /f /im client.exe) ELSE (echo test)
replace \\192.168.0.1\Archives\1\AstCommon\client.exe C:\AstCommon
replace \\192.168.0.1\Archives\1\AstCommon\client.ini C:\AstCommon
start C:\AstCommon\client.exe
поправил всё равно не срабатывает taskkill с if-ом
|
Отправлено: 17:36, 07-05-2018
| #8
|