friends Posted September 29, 2004 Posted September 29, 2004 (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)EndIfWell.... i wonder if the FileGetTime() example above can be usedwith 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 September 29, 2004 by friends
Valik Posted September 29, 2004 Posted September 29, 2004 Use FileFindFirstFile/FileFindNextFile to search (It supports wildcards). Use the files returned from that to do your FileGetTime() on.
friends Posted September 30, 2004 Author Posted September 30, 2004 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...
ezzetabi Posted September 30, 2004 Posted September 30, 2004 Check the example I wrote before seeing that Valik already answered.In this same forum!None should double post. :|
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now