> ...My launcher.exe doesn't always detect that the network.exe is more recent than the local.exe though. Would you be willing to shoot me the piece of code that checks for most recent exe? I am interested in what approach you took to compare datetime for exe. BTW - That run command works fine for me also...thanks Josh!
Interesting you should mention the version detection problem :) I had same thing, my launcher would not detect the comparison:
if fdate(server.exe) = fdate(local.exe);
AND ftime(server.exe) > ftime(local.exe)
&& then do copy
endif
I finally just did something like:
do case
case !directory(local)
case !file(local.exe)
case fdate(server.exe) > fdate(local.exe)
case ftime(server.exe) > ftime(local.exe)
endcase
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.