To open a version, do one of the following, depending
on the type of view you use:
In a snapshot view, you must use the cleartoolget command
to copy a version into your view. If your development application relies on
specific file extensions, the -to argument of the get command
must use the required extension.
For example, the following
command copies prog.c@@/main/r1_fix/1 (on Windows systems: prog.c@@\main\r1_fix\1)
to prog.old.c in the current directory:
On UNIX systems and Linux:
%cleartool get -to prog.old.c prog.c@@/main/r1_fix/1
On Windows systems:
>get -to prog.old.c prog.c@@\main\r1_fix\1
In a dynamic view, you can use this version-extended path
just as you would use a standard path.
For example, in a
text editor (on a UNIX system or Linux) or in the Open window of Visual Studio
(on Windows systems), you can use the file name prog.c@@/main/r1_fix/1 (on
a Windows system: prog.c@@\main\r1_fix\1) to open the
first version on the r1_fix subbranch.
Windows tip: You must use backslashes when providing
version-extended paths to Windows applications.
If your development application relies on specific
file extensions, use a standard copy shell command to copy the version-extended
path to a file name with the required extension.