Getting back to this, as I was asked again today by one of the tech's here.

The following is the contents of a cmd file I just wrote. VERSIONS.CMD

@echo off
echo dim fso>vfpgetver.vbs
echo set fso=createobject("scripting.filesystemobject")>>vfpgetver.vbs
echo wscript.echo wscript.arguments(0) ^&" - " ^&
fso.getfileversion(wscript.arguments(0))>>vfpgetver.vbs
for /F "delims=," %%i in ('dir %%systemdrive%%\vfp9*.dll /a/s/b') do cscript
/nologo vfpgetver.vbs "%%i"
erase vfpgetver.vbs
echo.
pause


This will write a file vfpgetver.vbs.
Then gets all vfp9*.dll files (including those hidden or system) on the
systemdrive.
It displays each file, and its file version.
Then it politely erases the vbs script file it created and pauses.


Tracy Pearson
PowerChurch Software


_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/001601cd740c$aa337120$fe9a5360$@powerchurch.com
** 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