Difference between revisions of "Version"

From wiki.amiga.org
Jump to navigation Jump to search
Line 21: Line 21:
 
 
 
 
 
Latest versions are 46.10 and 54.10
 
Latest versions are 46.10 and 54.10
 +
 +
{|
 +
|-
 +
|[[File:Updater_Icon.png|center]]
 +
|Use the [[Updater]] utility to install new versions
 +
|}
 +
 +
  
 
 
 
 

Revision as of 10:06, 22 May 2021

   

Description

The Version command analyses and reports the version/revision number of a file or device.


Installation

Commands Icon.jpg
The Version command file is installed in the SYS:C/ directory by default.

 

Versions

  Latest versions are 46.10 and 54.10

Updater Icon.png
Use the Updater utility to install new versions


   

Command Line Usage

   

NAME,VERSION/N,REVISION/N,FILE/S,FULL/S,NONAME/S,NOVEREXTRA/S,ORIGIN/S,VSTRING,
CHECKSUM=CS/K,SKIPVER/S,UNIT/N,INTERNAL/S,RES/S

   

Can be made resident: Yes

   

Options NAME, VERSION, REVISION, FILES and FULL work in the same way as with previous versions.

Options UNIT, INTERNAL and RES do nothing and are only present for compatibility reasons.


V46 / V54 only::

NONAME: hides the object's name from any version information shown.


NOVEREXTRA: hides any text that exists between the version number and the date.


ORIGIN: Shows where the OS found the named object. This option can't be used with the FILE option. The output of this option is one of the following:

  • resident module
  • dos resident
  • loaded library
  • loaded device
  • filesystem
  • handler
  • LIBS:
  • DEVS:


VSTRING: Shows the version string exactly as it appears within the given object without any processing.


CHECKSUM <CRC32>: Calculates and displays the checksum of a file. Also requires the FILE option to be given. Only CRC32 has been implemented so far. It is mainly intended to distinguish between files that don't contain any version information.


SKIPVER: When only the checksum is required, using this option will speed up the calculation of the checksum as no time will be spent on trying to find version information.

 

Copyright

  Copyright (C) 2021 AmigaKit Ltd. Distributed with the Enhancer Software under licence.