From 20aed4de9a3ab3720e7c13496035639e7808f044 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 12 Mar 2023 11:28:34 +0100 Subject: [PATCH] bugfix --- optional/install-snapcontrol.cmd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/optional/install-snapcontrol.cmd b/optional/install-snapcontrol.cmd index 4050f1e..bed803f 100644 --- a/optional/install-snapcontrol.cmd +++ b/optional/install-snapcontrol.cmd @@ -8,12 +8,14 @@ set INI_COMPANY=..\company\snapcontrol.ini echo ####### %0 ####### +echo moving snapcontrol binary to [ %windir% ] ... +move /Y %TOOLS%\snapcontrol.exe %windir% 2>nul + if EXIST %INI_COMPANY% ( if NOT EXIST %windir%\snapcontrol.ini ( echo putting COMPANY inifile in place ... copy /Y %INI_COMPANY% %windir% - move /Y %TOOLS%\snapcontrol.exe %windir% 2>nul %TOOLS%\searchreplace %windir%\snapcontrol.ini "__COMPUTERNAME__" "%COMPUTERNAME%" %windir%\snapcontrol /I ) else ( @@ -27,7 +29,6 @@ if EXIST %INI_COMPANY% ( if NOT EXIST %windir%\snapcontrol.ini ( echo putting STANDARD inifile in place ... copy /Y %INI_STANDARD% %windir% - move /Y %TOOLS%\snapcontrol.exe %windir% 2>nul %windir%\snapcontrol /I ) else ( echo inifile already copied. nothing to do!