This is a reposting of a topic submitted on 11/10 that has gone unanswered. Additional technical details are on the original posting of 11/10/02 under the topic IfFileChanged error in 19xx.
====
I have just discovered that I am getting incorrect results when using IfFileChanged command comparing dates from 19xx. Perhaps it may be a Y2K problem using a 2 digit year vs. a 4 digit year? I am using MacroScheduler 7.0vb with Windows 98SE. Dates are formatted for 4 digit years.
=================================
Brief explanation using the command like this to copy files changed in the last day:
Label>NextFile
IfFileChanged>Filename,NextFile
...
...
Label>CopyFile
CopyFile>...
...
...
...
If>NotDone,NextFile
Label>End
=============================
The problem is that if the filedate is in 19xx, then it is identified as "Changed" and is processed to be copied.
If File Changed error
Moderators: Dorian (MJT support), JRL
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Hi,
Sorry you didn't get an answer. We're just looking into this. You may be right - it does seem from what you say that the century difference is confusing it. If this is the case, then I hope there is a fix
Sorry you didn't get an answer. We're just looking into this. You may be right - it does seem from what you say that the century difference is confusing it. If this is the case, then I hope there is a fix
MJT Net Support
[email protected]
[email protected]
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
- Marcus Tettmar
- Site Admin
- Posts: 7380
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Hi,
We have fixed this - it was indeed due to 2 figure dates in this particular command. Will let you know when the update is available for download.
We have fixed this - it was indeed due to 2 figure dates in this particular command. Will let you know when the update is available for download.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Marcus Tettmar
- Site Admin
- Posts: 7380
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Just to let you know build 7.1.12 fixes this issue and can be obtained from http://www.mjtnet.com/dldregd.htm
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact: