This documentation is archived and is not being maintained.

Copy (Command Line)

Visual Studio 2005

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

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

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.

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.

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

ss Copy $Test/Open.c