Recently Browsing 0 members
No registered users viewing this page.
Hi guys, i have made this script:
$File = _RecFileListToArray("C:\Test", "*.*", 1, 0, 0, 2, "", "") If IsArray($File) Then For $i = 1 To $File $Time = FileGetTime($File[$i]) $dmyyyy = $Time & "/" & $Time & "/" & $Time MsgBox(0,"FileDate", $File[$i] & " - " & $dmyyyy) Next EndIf
The script working with MsgBox, so i have try to write the result on a txt like this:
$ToWrite = $File[$i] & " - " & $dmyyyy $Log = @TempDir & "\log.txt" $LogCreate = FileOpen(@TempDir & "\log.txt", 1) _FileWriteFromArray($LogCreate, $ToWrite) FileClose($LogCreate)
But not working, i have only the filename but not the date. What is the problem?
Thanks for support
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
Already have an account? Sign in here.Sign In Now