diff --git a/06_Copy2Stick.cmd b/06_Copy2Stick.cmd index 97d24b5..efa8318 100644 --- a/06_Copy2Stick.cmd +++ b/06_Copy2Stick.cmd @@ -126,6 +126,10 @@ echo. echo copying custom setup script to %USBDRIVE% ... copy /Y boot\CustomSetup.cmd %USBDRIVE%\ +echo. +echo putting tools-copy script to %USBDRIVE% ... +copy /Y boot\CopyTools.cmd %USBDRIVE%\ + echo READY. echo. diff --git a/boot/CopyTools.cmd b/boot/CopyTools.cmd new file mode 100644 index 0000000..d76d05f --- /dev/null +++ b/boot/CopyTools.cmd @@ -0,0 +1,57 @@ +@echo off +rem this script copies the tools folder ... + +set T=c:\TEMP +set TOOLS=c:\tools +set SCRIPTS=%TOOLS%\scripts + +echo ####### %0 ####### + +echo killing ssh agent ... +taskkill /F /IM ssh-agent.exe +taskkill /F /IM ssh.exe +echo. + +echo deleting %TOOLS% ... +rd /S /Q %TOOLS% +echo. + +echo copying folder %TOOLS% ... +robocopy tools %TOOLS% /MIR /256 /V /NJH /NFL +echo. + +echo creating %T% ... +mkdir %T% 1>nul 2>nul +echo. + +echo cd to %SCRIPTS% ... +cd /D %SCRIPTS% +echo. + +rem 7-zip is essential for other scripts ... +call unpack-7zip.cmd +echo. + +rem windows update blocker is in the zipfiles ... +call unpack-zipfiles.cmd +echo. + +rem put vnc in place ... +call unpack-vnc.cmd +echo. + +rem copy some other stuff ... +call copy-executables.cmd +echo. + +call install-git.cmd +echo. + +echo ####### %0 ####### +echo READY. +echo. + +echo cd to %T% ... +cd /D %T% +echo. +