for /f "tokens=*" %%G in ('dir /b /ad "."') do ( mkdir x:\x\patches-c\gitlab\253-gitlab\l10n-release\%%G\patches copy /y d:\seamonkey\l10n\l10n-release\%%G\.hg\patches\*.patch x:\x\patches-c\gitlab\253-gitlab\l10n-release\%%G\patches copy /y d:\seamonkey\l10n\l10n-release\%%G\.hg\patches\series x:\x\patches-c\gitlab\253-gitlab\l10n-release\%%G\patches )