From 1d5c13bbef34f228cb6ef8f626a7552425f7195c Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Mon, 16 Jan 2023 09:02:34 +0100 Subject: [PATCH] . --- tools/logon.cmd | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/logon.cmd b/tools/logon.cmd index 9fcc857..f5b8f3f 100644 --- a/tools/logon.cmd +++ b/tools/logon.cmd @@ -188,10 +188,14 @@ copy /Y %TOOLS%\scripts\config\wt-settings.json %LOCALSTATE%\settings.json 1>nul rem TOTALCOMMANDER mkdir %APPDATA%\GHISLER 1>nul 2>nul -echo Copying standard inifile for TOTALCOMMANDER ... -copy /Y %TOOLS%\optional\config\WINCMD.ini %APPDATA%\GHISLER 1>nul 2>nul -echo Copying standard TOTALCOMMANDER ftp config file ... -copy /Y %TOOLS%\optional\config\wcx_ftp.ini %APPDATA%\GHISLER 1>nul 2>nul +if NOT EXIST %APPDATA%\GHISLER\WINCMD.ini ( + echo Copying standard inifile for TOTALCOMMANDER ... + copy /Y %TOOLS%\optional\config\WINCMD.ini %APPDATA%\GHISLER 1>nul 2>nul +) +if NOT EXIST %APPDATA%\GHISLER\wcx_ftp.ini ( + echo Copying standard TOTALCOMMANDER ftp config file ... + copy /Y %TOOLS%\optional\config\wcx_ftp.ini %APPDATA%\GHISLER 1>nul 2>nul +) rem THISPC echo Adding "This PC" icon for current user on desktop Windows 10 ...