(.*\\(.*)\\(.*)) xcopy "\1" "c:\\rb\\in_correct_folder\\\2\\\3" ----- new (.*\\)(.*)\\(.*)\.(.*) robocopy "\1\2" "c:\\rb\\in_correct_folder\\\2" "\3*.\4" /r:0