View Full Version : Check File Version for update


bunji
04-14-2008, 07:26 AM
Hi
Its been a while since I have been on here, but neither the less need your expert help again.

I wish to make a script that compares the file version between a local exe and another exe stored on a mapped drive. Then if network drive version is different then copy it replacing the local exe.

I had a quick search of the forums but only saw ones that related to being within an access db and I would need to use a vbs or bat script. What do you guys reckon?

Thanks in advance

tehNellie
04-16-2008, 09:02 AM
You can use the filesystemobject to check something like the modified date or the File summary information and perform actions as necessary based on that information. Or simply check the filename for that matter if you use "myprogram_1.0.exe" or similar.