it does not work!why?
code:
$search = FileFindFirstFile("d:\test\*.*")
If $search = -1 Then
MsgBox(0, "Error", "No files/directories matched the search pattern")
Exit
EndIf
While 1
$file = FileFindNextFile($search)
If @error then
MsgBox(0, "ok", "copy complete")
ExitLoop
endif
FileCopy("d:\test\dc\*.*","d:\test\" & $search & "\*" ,1)
WEnd
; Close the search handle
FileClose($search)