w10install/scripts/copy-executables.cmd

39 lines
697 B
Batchfile
Raw Normal View History

@echo off
set TOOLS=c:\tools
set SOFTWARE=..\software
2022-06-19 11:28:23 +02:00
set COMPANY=..\company
echo ####### %0 #######
for %%E in (
bfg.jar
snapshot64.exe
2021-04-03 23:05:39 +02:00
putty.exe
puttygen.exe
2021-04-05 23:06:24 +02:00
rufus.exe
2021-03-14 12:35:41 +01:00
Windows-ISO-Downloader.exe
2023-01-02 11:12:06 +01:00
MediaCreationTool20H2.exe
) do (
if NOT EXIST %SOFTWARE%\%%E (
echo WARNING: %SOFTWARE%\%%E not found!
) else (
echo copying %%E to %TOOLS% ...
copy /Y %SOFTWARE%\%%E %TOOLS%
)
)
2021-03-13 23:32:05 +01:00
rem copy licensed snapshot64 executable
rem (license is written to the binary)
2022-06-19 11:28:23 +02:00
if EXIST %COMPANY%\snapshot64.exe (
2021-03-13 23:32:05 +01:00
echo installing licensed version of snapshot64 ...
2022-06-19 11:28:23 +02:00
copy /Y %COMPANY%\snapshot64.exe %TOOLS%
2021-03-13 23:32:05 +01:00
)
echo ####### %0 #######
2022-06-19 11:28:23 +02:00