added CopyTools.cmd script ...
This commit is contained in:
parent
f8fb83c235
commit
872b235636
@ -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.
|
||||
|
||||
|
57
boot/CopyTools.cmd
Normal file
57
boot/CopyTools.cmd
Normal file
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user