Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Compare files with creationdate

$
0
0
Hi, I'm a total NEW user of AutoIt. I used to use WinBatch but now I have some troubles with it. Moreover I think AutoIt is a better tool.

I allready tried the first step in this NEW medium for me.

I want to compare a file with the current date.

If there's no differance in the DAY there's no action wanted. If there is a time (creation) different action is needed.
I tried the TimeDiff and the FileTimeGet

I tried: (I did it like this in WinBatch and thought these programs are quite similar.)

  now=TimeYmdHms()
  a = FileYmdHms("d:\AccessdB.mdb")
  Action=TimeDiffDays(now, a)
  if Action==0

;then I know what action should follow

But this want work ....  Is there someone who can help?

Jan
The Netherlands

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>