共用方式為


Copy (Command Line)

Copies one or more files in one project to another project. For definitions of the command options, see Command Options in this Help system.

Syntax

ss Copy <item> [-C] [-G] [-O] [-P] [-Q] [-R] [-V] [-W] [-?]

Project Rights

To use this command, you must have the Check Out/Check In project right in the source project, and the Add/Rename/Delete access right in the destination project.

Remarks

The Copy command actually works like the Share command using the -E option. Copy shares the file or files in the source project with the destination project, but does not link them. When you use the Copy command with an old version of a file, it operates like a Share command, followed by a Rollback command.

Examples

Copies $/Test/Open.c to the current project:

ss Copy $Test/Open.c

See Also

Reference

Rollback (Command Line)
Share (Command Line)

Other Resources

Command Line Commands
Command Options