Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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

Community Additions

© 2015 Microsoft