25 January 2013, 11:33 | #1 |
Registered User
Join Date: Dec 2012
Location: germany
Age: 49
Posts: 374
|
How to read out library-Version number?
As far as i remember, shell-cmd „Version Filename of library“ returns the version number of a library file. Is there a way to make this cmd go thru all files in a directory and retur a list of versionnumbers of all files found inside?
|
25 January 2013, 12:37 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,033
|
Code:
list >ram:script libs: lformat="version *"%p%n*" file full" execute ram:script |
25 January 2013, 12:53 | #3 |
Registered User
Join Date: Dec 2012
Location: germany
Age: 49
Posts: 374
|
thanks, i´ll try this!
|
26 January 2013, 14:52 | #4 |
Registered User
Join Date: Dec 2012
Location: germany
Age: 49
Posts: 374
|
There seems to be a little problem, i get a list of libs - but no version numbers. And a complain about too long argument (return 20)
|
26 January 2013, 15:03 | #5 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,351
|
Make sure you type the command thomas gave correctly, from your screenshot you got it wrong both times.
|
26 January 2013, 21:05 | #6 |
Registered User
Join Date: Dec 2012
Location: germany
Age: 49
Posts: 374
|
Sorry, i dont see a typo in here - some hint please?!
|
26 January 2013, 21:25 | #7 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,351
|
Hmm. I'm not sure why you got that error. I tried that command and it did work, though it works better if you add a "failat 30" line at the start of the script (otherwise the script stops at the first subdirectory or file without version string in LIBS:).
You could try using the S:SPat script instead: Code:
SPat Version LIBS:#?.library FULL FILE |
26 January 2013, 21:28 | #8 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,033
|
Try this:
Code:
echo >ram:script "failat 21*nset echo on" list >>ram:script libs: all files lformat="version *"%p%n*" file full" execute ram:script |
26 January 2013, 21:32 | #9 |
Registered User
Join Date: Dec 2012
Location: germany
Age: 49
Posts: 374
|
Thank you, i must close for now - but give it a try soon !
|
27 January 2013, 14:17 | #10 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,683
|
Report+ can do this; just go to "path differences report", choose "generate a snapshot", make sure that logging is enabled, and then after generating the report have a look at the logfile, you will see all version numbers of all files listed.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New version of boards.library | bubbob42 | News | 33 | 05 September 2017 08:51 |
BSDSocket.library error with version 1.5+ | Icreadence | support.WinUAE | 7 | 28 August 2008 04:16 |
Can't open version 36 of graphics.library | Lambizkit | support.Apps | 1 | 07 November 2007 08:00 |
Old version number? [GameBase version vs. GBA version + misc. questions] | wanderer | project.GameBase Amiga | 5 | 23 August 2007 00:51 |
WinUAE version number | Exodus | support.WinUAE | 1 | 31 December 2002 01:24 |
|
|