you have some things not needed shortened a little bit
also when you copy this way the file created on the desktop is overwritten so you end up with only a copy of the last file found
str d.expandpath("$desktop$")
str s=
F
;set src=ttkx.txt
;
;for %%a in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
;if exist %%a:\nul (
;;;;for /f "delims=" %%i in ('dir /s/a/b/a-d "%%a:\%src%" 2^>nul') do (
;;;;;;;;copy "%%i" "{d}"
;;;;)
;)
;)
;out s
__TempFile f.Init(".bat" "" "" s)
RunConsole2 f