Func Seek($Dir,$Key)
If StringRight($Dir,1)<>"\" Then $Dir=$Dir&"\"
$search=FileFindFirstFile($Dir&"*.*")
While 1
$File=FileFindNextFile($search)
If @error Then ExitLoop
If StringInStr(FileGetAttrib($Dir&$File),"D") Then
Seek($Dir&$File,$Key)
If FileExists($Dir&$File&"\"&$Key) Then
Local $Exist=$Dir&$File&"\"&$Key
;MsgBox(0,"ok",$Exist)
Return $Exist
EndIf
EndIf
WEnd
FileClose($search)
EndFunc
dim $Exist
MsgBox(0,"ok",Seek(@WindowsDir,"Bliss.jpg"))
Func Seek($Dir,$Key)
If StringRight($Dir,1)<>"" Then $Dir=$Dir&""
$search=FileFindFirstFile($Dir&"*.*")
While 1
$File=FileFindNextFile($search)
If @error Then ExitLoop
If StringInStr(FileGetAttrib($Dir&$File),"D") Then
Seek($Dir&$File,$Key)
If FileExists($Dir&$File&""&$Key) Then
$Exist=$Dir&$File&""&$Key
;MsgBox(0,"ok",$Exist)
EndIf
EndIf
WEnd
Return $Exist
FileClose($search)
EndFunc