From 36215899645992bb3d850a0ff7ef6dc7df8d69bd Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 18 Dec 2022 16:30:08 +0100 Subject: [PATCH] . --- tools/logon.cmd | 7 +++++++ tools/personalfiles.cmd | 11 ++--------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tools/logon.cmd b/tools/logon.cmd index 397d6b5..a0a82a1 100644 --- a/tools/logon.cmd +++ b/tools/logon.cmd @@ -125,6 +125,13 @@ set LOCALSTATE=%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\L mkdir %LOCALSTATE% 1>nul 2>nul copy /Y %TOOLS%\scripts\config\wt-settings.json %LOCALSTATE%\settings.json +rem TOTALCOMMANDER +mkdir %APPDATA%\GHISLER 1>nul 2>nul +echo copying ini file for TOTALCOMMANDER ... +copy /Y %TOOLS%\optional\config\WINCMD.ini %APPDATA%\GHISLER +echo copying TOTALCOMMANDER ftp config file ... +copy /Y %TOOLS%\optional\config\wcx_ftp.ini %APPDATA%\GHISLER + rem fix for broken SEAFILE folder access rights ... if EXIST %USERPROFILE%\Seafile ( echo removing SEAFILE system attributes ... diff --git a/tools/personalfiles.cmd b/tools/personalfiles.cmd index 4e15831..4a8ea4b 100644 --- a/tools/personalfiles.cmd +++ b/tools/personalfiles.cmd @@ -11,21 +11,14 @@ if EXIST %PERSONALFILES_DONE% GOTO END echo ####### %0 ####### -rem TOTALCOMMANDER config ... -mkdir %APPDATA%\GHISLER 1>nul 2>nul - -echo copying ini files for TOTALCOMMANDER ... +echo copying ini file for TOTALCOMMANDER ... if EXIST %TOOLS%\personal\WINCMD.ini ( copy /Y %TOOLS%\personal\WINCMD.ini %APPDATA%\GHISLER -) else ( - copy /Y %TOOLS%\optional\config\WINCMD.ini %APPDATA%\GHISLER ) -rem ftp config file ... +echo copying TOTALCOMMANDER ftp config file ... if EXIST %TOOLS%\personal\wcx_ftp.ini ( copy /Y %TOOLS%\personal\wcx_ftp.ini %APPDATA%\GHISLER -) else ( - copy /Y %TOOLS%\optional\config\wcx_ftp.ini %APPDATA%\GHISLER ) rem SSH keys ...