Rafael Copquin wrote on 2014-09-15: 
>  I need to know the date and exe was compiled and placed in a network
>  drive, compare it with the exe date on the local drive and replace the
>  latter if the network version is newer.
>  
>  How is this done?
>  
>  The purpose is to be able to make changes to a working app, place the
>  newly compiled exe in a server folder and have each user local machine
>  compare the local exe to the server exe and use the newer version
> 
>  Thanks in advance
>  
>  Rafael Copquin
> 

Rafael,

I use the compiled version of the EXE instead of the datetime stamp.
If you update the network, then copy down the EXE, it could get the
workstations Date. This would then copy the EXE down every time it is to be
run.  If you use network date < local date, you will have a hard time if you
needed to roll the EXE back to a previous release.

AGETFILEVERSION is the function to use for EXE version

ADIR is the function to use for the Date.

You might want to look at the downloads for a "loader" tool.

Tracy Pearson
PowerChurch Software


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to