y that works, but why does this:
$search = FileFindFirstFile("C:\Program Files (x86)\Minecraft\world\region\*.mcr")
if @error Then
MsgBox(0, "error", "failed to find first file")
Exit
EndIf
While 1
$file = FileFindNextFile($search)
If @error Then ExitLoop
ConsoleWrite("File:" & $file & @CRLF)
$time = FileGetTime($file)
if @error Then
ConsoleWrite("Error getting time from " & $file & @CRLF)
EndIf
WEnd
; Close the search handle
FileClose($search)
give
File:r.-1.-1.mcr
Error getting time from r.-1.-1.mcr
File:r.-1.-2.mcr
Error getting time from r.-1.-2.mcr
File:r.-1.0.mcr
Error getting time from r.-1.0.mcr
File:r.-2.-1.mcr
Error getting time from r.-2.-1.mcr
File:r.-2.-2.mcr
Error getting time from r.-2.-2.mcr
File:r.-2.0.mcr
Error getting time from r.-2.0.mcr
File:r.0.-1.mcr
Error getting time from r.0.-1.mcr
File:r.0.-2.mcr
Error getting time from r.0.-2.mcr
File:r.0.0.mcr
Error getting time from r.0.0.mcr
File:r.0.1.mcr
Error getting time from r.0.1.mcr
File:r.1.-1.mcr
Error getting time from r.1.-1.mcr
File:r.1.0.mcr
Error getting time from r.1.0.mcr
EDIT: LOL, Sorry I'm retarded... Never mind, thanks for your help