set filename=static set path=controller @echo off set file_path=%path%\%filename%.lib if exist %file_path% ( move %file_path% ..\User ) set file_path=%path%\%filename%-hart.lib if exist %file_path% ( move %file_path% ..\User ) set file_path=%path%\%filename%-algorithm.lib if exist %file_path% ( move %file_path% ..\User )