Showing posts with label visual sourcesafe. Show all posts
Showing posts with label visual sourcesafe. Show all posts

Thursday, 22 May 2008

How do I add files/folders to Visual SourceSafe recursively?

The best way to add files and folders to Visual SourceSafe recursively is to drag and drop them from Windows Explorer.

  1. Create the new project in Visual SourceSafe (I prefer to think of them as folders but SourceSafe calls them projects).
  2. Launch Windows Explorer and navigate to the physical location of the root folder containing the new files/folders. This location should be below the working directory and the name should be the same as the newly created SourceSafe project.
  3. Drag and drop everything from the root folder into the new project.

Example:
Assume that your working directory is C:\WorkingDirectory and you want to add a some files/folders from C:\WorkingDirectory\NewStuff.

  1. Create a project called "NewStuff" under the working directory ("$/") in Visual SourceSafe.
  2. Launch Windows Explorer and navigate to C:\WorkingDirectory\NewStuff.
  3. Drag and drop everything from C:\WorkingDirectory\NewStuff into the "NewStuff" project.