September 5th, 2003, 10:03 PM
typically the other systems must be mapped drives, or at least the remote system must have shared rights to the folder that you are trying to access.
If you do with the system name instead of a mapped drive, remember that every backslash needs to be escaped.
As far as comparing two times, easiest way that comes to mind is to convert them into strings (if needed) and use strcmp and see what the result is.
strcmp() gives one of three values depending on how the comparison goes.
0 = the are equal
positive # = (can't remember right off hand) left is greater than right
negative # = right is greater that left
I would suggest you play around a bit and see, but there may also be a better method for this also.