From 8ffa211ecaa942a2d9d75b2fea5ba152b56f7b2d Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 10 Jan 2021 16:57:44 +0100 Subject: [PATCH] . --- obsolete/ToolsDownload.cmd | 55 -------------------------------------- obsolete/ToolsDownload.ftp | 35 ------------------------ 2 files changed, 90 deletions(-) delete mode 100644 obsolete/ToolsDownload.cmd delete mode 100644 obsolete/ToolsDownload.ftp diff --git a/obsolete/ToolsDownload.cmd b/obsolete/ToolsDownload.cmd deleted file mode 100644 index 3e61933..0000000 --- a/obsolete/ToolsDownload.cmd +++ /dev/null @@ -1,55 +0,0 @@ -@echo off -set LOG=c:\ToolsDownload.txt -set SETUPDIR=c:\Windows\Setup\scripts -set FTPSCRIPT=ToolsDownload.ftp - -set T=c:\TEMP -set TOOLS=c:\tools -set SCRIPTS=c:\scripts - -del /F %LOG% 1>nul 2>nul -if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1 -shift /1 - -echo ####### %0 ####### -date /t -time /t -echo. - -echo killing some processes... -taskkill /F /IM ssh-agent.exe -taskkill /F /IM ssh.exe - -echo restart explorer ... -taskkill /F /IM explorer.exe & start explorer.exe - -echo deleting %TOOLS% and %SCRIPTS% ... -rd /S /Q %TOOLS% -rd /S /Q %SCRIPTS% - -echo creating directories ... -mkdir %T% 1>nul 2>nul -mkdir %TOOLS% 1>nul 2>nul -mkdir %SCRIPTS% 1>nul 2>nul -mkdir %SCRIPTS%\conf 1>nul 2>nul -mkdir %SCRIPTS%\desktop 1>nul 2>nul -mkdir %SCRIPTS%\tweaks 1>nul 2>nul -mkdir %SCRIPTS%\other 1>nul 2>nul - -echo DISABLE firewall (for FTP access) ... -netsh advfirewall set allprofiles state off - -echo getting TOOLS from webserver ... -cd /D %SETUPDIR% -if EXIST %FTPSCRIPT% ( - echo EXECUTING ftp script %FTPSCRIPT% in path %SETUPDIR% ... - ftp -i -s:%FTPSCRIPT% -) else ( - echo INFO: %FTPSCRIPT% not found in path %SETUPDIR% ! -) - -echo. -date /t -time /t -echo ####### %0 ####### - diff --git a/obsolete/ToolsDownload.ftp b/obsolete/ToolsDownload.ftp deleted file mode 100644 index f5a8560..0000000 --- a/obsolete/ToolsDownload.ftp +++ /dev/null @@ -1,35 +0,0 @@ -open exabyte-systems.com -w10install -9054c6cf-c54c - -binary - -cd tools -lcd c:\tools -mget * - -cd ../scripts -lcd c:\scripts -mget * - -cd conf -lcd c:\scripts\conf -mget * -cd .. - -cd other -lcd c:\scripts\other -mget * -cd .. - -cd desktop -lcd c:\scripts\desktop -mget * -cd .. - -cd tweaks -lcd c:\scripts\tweaks -mget * - -bye -