Jump to content

Zetoo

Members
  • Posts

    2
  • Joined

  • Last visited

Zetoo's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Yes, it might be possibly to the oldest file even thought FileGetTime($filepath, 0, 0) Thanks, I will try it asap Hi, thanks for welcoming this newbie I want to get both of date and time from latest date modified. Yes, I do realize my fault for not matching the date and time since am still learning autoit and want to try to display it separately (by the end of learning, I want to combine it so it will avoid those case mentioned above) Thanks for your help, I will try it asap
  2. Hi newbie here, I tried to create a script to get filename and date modified from latest backup file then I will print it in txt file. By using FileFIndFirstFIle, FileFindNextFile, and FileGetTime. But I dont know why it will show me oldest file instead of latest file $filepath = "C:\" $search = FileFindFirstFile($filepath & $modified & "*.bak") $filename = FileFindNextFile ($search, 0) FileGetTime($filepath, 0) Format backup file : Backup_ABC_DEF_yyyymmdd_1234567.bak
×
×
  • Create New...