diff --git a/optional/install-totalcommander.cmd b/optional/install-totalcommander.cmd index 6940f59..d260f92 100644 --- a/optional/install-totalcommander.cmd +++ b/optional/install-totalcommander.cmd @@ -2,6 +2,8 @@ set EXE=..\software\totalcommander-setup.exe set KEY=..\personal\wincmd.key +set INI=..\personal\wincmd.ini +set FTPCONFIG=..\personal\wcx_ftp.key set TARGET=c:\totalcmd set STARTMENU=%PROGRAMDATA%\"Microsoft\Windows\Start Menu\Programs" set STARTMENU_USER=%APPDATA%\"Microsoft\Windows\Start Menu\Programs" @@ -28,6 +30,16 @@ if EXIST %KEY% ( copy /Y %KEY% %TARGET% ) +if EXIST %FTPCONFIG% ( + echo copying ftp config file ... + copy /Y %FTPCONFIG% %TARGET% +) + +if EXIST %INI% ( + echo copying ini file ... + copy /Y %INI% %TARGET% +) + rem refresh desktop (W10 style) ie4uinit.exe -show diff --git a/scripts/unpack-zipfiles.cmd b/scripts/unpack-zipfiles.cmd index ef27e10..12e45be 100644 --- a/scripts/unpack-zipfiles.cmd +++ b/scripts/unpack-zipfiles.cmd @@ -3,6 +3,7 @@ set TOOLS=c:\tools set SOFTWARE=..\software set T=c:\TEMP +set WINSCPINI=..\personal\winscp.ini echo ####### %0 ####### @@ -114,6 +115,10 @@ echo. echo WinSCP move /Y %T%\winscp\*.exe %TOOLS% rd /S /Q %T%\winscp +if EXIST %WINSCPINI% ( + echo copying WinSCP ini file ... + copy /Y %WINSCPINI% %TOOLS% +) echo. echo WUB - Windows update blocker