Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello people,
I have a small problem i hope someone can help me with. I'm trying to create an update file that will replace some Dlls in Windows but i want it to be done only if the file to be replaced is older than the one i'm offering. However, i have no idea how to test for the file version in Dos, perhaps someone here could give me a pointer?
Any help will be greatly appreciated :)
Lightspeed.
The Oldfiles Network

No obvious way to test version in DOS.
But if the replacment are NEWER, later date:
xcopy /d x:\my\*.dll y:\otherDIR\
M2
If at first you don't succeed, you're about average.

Inherently the problem is that there was/is no organized method of internally time stamping files. In the old days of BBS's at least zmodem transfered the old file save date, now on the internet the date that the file is saved becomes the new create date. The result being that unless the file is labeled with the version you don't know which file is newer.

Fred,
You did again (age), this time with BBS and zmodem
Were you ever a SYSOP and if so what Flavor was it,ever get around FIDO ?X,Y,Bi,sliding Z <---- whered they go ?
Keep the old stuff running

LOS,
Maybe same place as Kermit went...
Ker-SPLASH
M2
If at first you don't succeed, you're about average.

M2 - good one.
LinuxOS2 - Not an open BBS, but used GT Power for personal data transfer. My own WAN. Ringback was great in not tying up the phone line.When resources are tight, then innovation thrives. What we get now is bloat and inefficiencies.

I was hoping someone would flamboyantly post a link to a small utility written by some obscure programmer years ago and that could do what i need, but apparently the poor guy is so obscure nobody ever heard of him! ;)
Ha well, i have a very good way to do this that is much simpler for me. It's called "the end user". I guess i'll just put a note on the download page about file version and leave it at that. I'll include an "undo" option and let the user figure it out.
Thanks anyway and happy computing :)
Lightspeed.
The Oldfiles Network

A little bit out of my league but maybe this is what your are looking for.......HTH
http://www.freedownloadscenter.com/Utilities/File_Cataloging_Utilities/FileVer_Download.htmlKeep the old stuff running

Thank you LinuxOS2!
I was not able to get the link you posted to work, but you put me on the right track. I found exactly what i was looking for here:
http://www.softpanorama.org/Unixification/index.shtml
Look for filever. It's a beautiful little 13k command line utility that returns the file version of EXEs and DLLs. This is great, certainly a keeper. :D
Lightspeed.
The Oldfiles Network

Hi LightSpeed,
Thanks. That's bacon-saver, FER SURE.
M2
If at first you don't succeed, you're about average.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |