Difference between revisions of "Version"
(3 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
=Versions= | =Versions= | ||
| | ||
− | Latest versions are 46. | + | Latest versions are 46.21 and 54.21 |
{| | {| | ||
Line 52: | Line 52: | ||
as with previous versions. | as with previous versions. | ||
− | Options '''UNIT''', '''INTERNAL''' and '''RES''' | + | Options '''UNIT''', '''INTERNAL''' and '''RES''' are deprecated and are only present for backward compatibility reasons. |
− | for compatibility reasons. | ||
Line 93: | Line 92: | ||
| | ||
| | ||
+ | |||
'''Example 1:''' | '''Example 1:''' | ||
<pre style="color: black; background:lightgray; font-family:courier; width:60%"> | <pre style="color: black; background:lightgray; font-family:courier; width:60%"> | ||
Line 99: | Line 99: | ||
</pre> | </pre> | ||
| | ||
− | + | ||
'''Example 2:''' | '''Example 2:''' | ||
<pre style="color: black; background:lightgray; font-family:courier; width:60%"> | <pre style="color: black; background:lightgray; font-family:courier; width:60%"> | ||
Line 107: | Line 107: | ||
</pre> | </pre> | ||
| | ||
− | + | ||
'''Example 3:''' | '''Example 3:''' | ||
<pre style="color: black; background:lightgray; font-family:courier; width:60%"> | <pre style="color: black; background:lightgray; font-family:courier; width:60%"> | ||
Line 114: | Line 114: | ||
</pre> | </pre> | ||
| | ||
− | + | ||
'''Example 4:''' | '''Example 4:''' | ||
<pre style="color: black; background:lightgray; font-family:courier; width:60%"> | <pre style="color: black; background:lightgray; font-family:courier; width:60%"> | ||
Line 121: | Line 121: | ||
</pre> | </pre> | ||
| | ||
− | + | ||
'''Example 5:''' | '''Example 5:''' | ||
<pre style="color: black; background:lightgray; font-family:courier; width:60%"> | <pre style="color: black; background:lightgray; font-family:courier; width:60%"> | ||
Line 129: | Line 129: | ||
File checksum (CRC32): F82AAF91 | File checksum (CRC32): F82AAF91 | ||
</pre> | </pre> | ||
− | + | ||
+ | |||
| | ||
=Copyright= | =Copyright= | ||
| | ||
− | Copyright (C) 2021 AmigaKit Ltd. Distributed with the Enhancer Software under licence. | + | Copyright (C) 2021-2024 AmigaKit Ltd. Distributed with the [[A600GS]] and the [[Enhancer Software]] under licence. |
Latest revision as of 23:13, 11 November 2024
Description
The Version command analyses and reports the version/revision number of a specified file or device.
Installation
The Version command file is installed in the SYS:C/ directory by default. |
Versions
Latest versions are 46.21 and 54.21
Use the Updater utility to upgrade to and install the latest available version. |
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 are deprecated and are only present for backward 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.
Example Usage
Here are some examples of using the Version command in the Shell(CLI):
Example 1:
1> Version Kickstart V54.1, Workbench V54.1
Example 2:
1> Version FILE C:Version FULL Version 54.10 (15/05/2021) Copyright (C) 2021 AmigaKit Ltd.
Example 3:
1> Version DH0: SmartFilesystem 1.293 (19/11/2015)
Example 4:
1> Version DEVS: SmartFilesystem 1.293 (19/11/2015)
Example 5:
1> Version FILE SYS:System/Format CHECKSUM CRC32 Format 54.12 File checksum (CRC32): F82AAF91
Copyright
Copyright (C) 2021-2024 AmigaKit Ltd. Distributed with the A600GS and the Enhancer Software under licence.