move /y "$(TargeDir)HMI.Core.dll" $(TargeDir)Libs\HMI.Core.dll" move /y "$(TargeDir)HMI.Base.dll" $(TargeDir)Libs\HMI.Base.dll" move /y "$(TargeDir)HMI.UI.dll" $(TargeDir)Libs\HMI.UI.dll" move /y "$(TargeDir)HMI.AlarmInfoManage.dll" $(TargeDir)Plugin\HMI.AlarmInfoManage.dll" move /y "$(TargeDir)HMI.DataViewer.dll" $(TargeDir)Plugin\HMI.DataViewer.dll" move /y "$(TargeDir)HMI.IOMonitor.dll" $(TargeDir)Plugin\HMI.IOMonitor.dll" move /y "$(TargeDir)HMI.LogViewer.dll" $(TargeDir)Plugin\HMI.LogViewer.dll" move /y "$(TargeDir)HMI.MenuManage.dll" $(TargeDir)Plugin\HMI.MenuManage.dll" move /y "$(TargeDir)HMI.ParameterManage.dll" $(TargeDir)Plugin\HMI.ParameterManage.dll" move /y "$(TargeDir)HMI.SettingControl.dll" $(TargeDir)Plugin\HMI.SettingControl.dll" move /y "$(TargeDir)Plugin.TestResult.dll" $(TargeDir)Plugin\Plugin.TestResult.dll" move /y "$(TargeDir)Plugin.TsExecution.dll" $(TargeDir)Plugin\Plugin.TsExecution.dll" setlocal enabledelayedexpansion set "source_folder=$(TargetDir)" set "destination_folder=$(TargetDir)3rds" if not exist "%destination_folder%" mkdir "%destination_folder%" for /d %%D in ("%source_folder%\*") do ( if /I not "%%~nxD"=="Config" if /I not "%%~nxD"=="Icon" if /I not "%%~nxD"=="Lang" if /I not "%%~nxD"=="Libs" if /I not "%%~nxD"=="Log" if /I not "%%~nxD"=="Plugin" ( move "%%D" "%destination_folder%" ) ) for %%F in ("%source_folder%\*") do ( if /I not "%%~nxF"=="$(TargetFileName)" if /I not "%%~nxF"=="$(TargetFileName).config" if /I not "%%~nxF"=="$(TargetName).pdb" if /I not "%%~nxF"=="clear.bat" ( move "%%F" "%destination_folder%" ) )