w10install/scripts/copy-exefiles.cmd

25 lines
359 B
Batchfile
Raw Normal View History

2021-02-28 14:10:59 +01:00
@echo off
set TOOLS=c:\tools
set SOFTWARE=..\software
echo ####### %0 #######
for %%E in (
snapshot64
puttygen
) do (
if NOT EXIST %SOFTWARE%\%%E.exe (
echo WARNING: %SOFTWARE%\%%E.exe not found!
) else (
echo copy %%E.exe to %TOOLS% ...
copy /Y %SOFTWARE%\%%E.exe %TOOLS%
)
)
echo ####### %0 #######