SETVERS(1)

NAME

setvers - store version number and strings in rVersion format in the specified executable file.

SYNOPSIS

setvers file 'string1~string2' [country] vmajrev.minrev.bugrev

DESCRIPTION

setvers is a program which adds an rVersion resource to the specified file. The rVersion format allows for two strings of up to 255 characters, although it is suggested that for this use you keep each field shorter than 80 characters. string1 is seperated from string2 by a ^ character, and the both strings should be enclosed in single quotes. string1 is required to be the name of the program. Any `_' character in string2 will be interpreted as a carriage return. When using GNO, make sure to quote the single quotes with backslashes.

The optional field country (no spaces allowed) allows you to set the country field of the rVersion resource. The last parameter is the current revision number of the program in the format majrev.minrev.bugrev, where majrev is a single or double digit number from 00 to 99, and minrev and bugrev are single digit numbers from zero to nine.

To print the version information stored by setvers you can use the companion shell utilities getvers or gv.

COUNTRIES

Valid Countries/Regions:
(case IS sensitive)
          UnitedStates
          France
          Britian
          Germany
          Italy
          Netherlands
          Belgium/Luxembourg
          Sweden
          Spain
          Denmark
          Portugal
          FrenchCanadian
          Norway
          Isreal
          Japan
          Australia
          Arabia
          Finland
          FrenchSwiss
          GermanSwiss
          Greece
          Iceland
          Malta
          Cyprus
          Turkey
          Bosnia/Herzegovena
          Ireland
          Korea
          China
          Taiwan
          Thailand

EXAMPLES

o Set the version of program `chmod' to read:
   chmod v01.0.0
   James Brookes
   jamesb@cscihp.ecst.csuchico.edu
   Country: United States
in Orca:
# setvers chmod 'chmod^James Brookes_jamesb@cscihp.ecst.csuchico.edu'
  v01.0.0
in GNO:
% setvers chmod \'chmod^James Brookes_jamesb@cscihp.ecst.csuchico.edu\'
  v01.0.0

CAVEATS

If an rVersion resource already exists, it will be overwritten and replaced with the new one. Other resources will be unaffected.

BUGS

See getvers.1

SEE ALSO

getvers(1) gv(1)

AUTHOR

Ian Schmidt, Two Meg Software
internet  irsman@iastate.edu
BITNET    twbv4@isuvax
AOL       IRSMan