Jump to content

Recommended Posts

Posted (edited)

Syntax : FileGetTime ( "filename" [,option] )

Example in doc :

$t =  FileGetTime(@Windowsdir & "\Notepad.exe", 1)

If Not @error Then

    $yyyymd = $t[0]& "/" & $t[1] & "/" & $t[2]

    MsgBox(0, "Creation date of notepad.exe", $yyyymd)

EndIf

Well.... i wonder if the FileGetTime() example above can be used

with wildcards ? :)

What I wish to do is something like below :

$t = FileGetTime(@Windowsdir & "\*.bin", 1)

Thanks...

@Jon : If this cannot be done, is it possible to change it usable with wildcards ?

Edited by friends
Posted

Use FileFindFirstFile/FileFindNextFile to search (It supports wildcards). Use the files returned from that to do your FileGetTime() on.

Posted

Use FileFindFirstFile/FileFindNextFile to search (It supports wildcards).  Use the files returned from that to do your FileGetTime() on.

<{POST_SNAPBACK}>

Valik, mind to show me a working example ?

That would be helpful for me to understand it.

Thanks in advance...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...